Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ - (void)handleEvent:(NSEvent*)event callback:(FlutterAsyncKeyCallback)callback {
default: {
NSAssert(false, @"Unexpected key event type (got %lu).", event.type);
callback(false);
// This should not happen. Return to suppress clang-tidy warning on `type` being nil.
return;
}
}
_previouslyPressedFlags = modifierFlags;
Expand Down