• Greg Spencer's avatar
    Handle null primary focus when receiving key events (#80302) · 6b06943c
    Greg Spencer authored
    This allows the key handling code in the shortcut manager to function when there is a null primaryFocus. The primary focus can be null only in some special circumstances (e.g. when an app hasn't set any focus at all), but that shouldn't cause a crash.
    6b06943c
shortcuts.dart 24.2 KB