Skip to content

Fix gestures_exclusions sending null to Android#3097

Merged
veloce merged 1 commit into
lichess-org:mainfrom
freebeartogoodhome:gestures
May 4, 2026
Merged

Fix gestures_exclusions sending null to Android#3097
veloce merged 1 commit into
lichess-org:mainfrom
freebeartogoodhome:gestures

Conversation

@freebeartogoodhome

Copy link
Copy Markdown
Contributor

The main idea here is to prevent gestures_exclusions from sending null to Android.

The Kotlin code has also been made more defensive.

Added await to some lines that are dealing with a Future.

Changed <Rect>[] to <Map<String, int>>[] to explicitly match the Kotlin function signature and use standard serializable types.

I only stopped importing widgets.dart here because it was redundant. material.dart transitively imports widgets.dart. You can leave that in if it's your preference.

@veloce veloce left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@veloce veloce merged commit 77b220c into lichess-org:main May 4, 2026
1 check passed
@freebeartogoodhome freebeartogoodhome deleted the gestures branch May 4, 2026 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants