TF-3911 Fix shortcutType was not in use in handleComposerShortcutAction method

This commit is contained in:
dab246
2025-10-31 09:29:57 +07:00
committed by Dat H. Pham
parent 0bd60ea83d
commit 11d47b5b00
@@ -43,7 +43,11 @@ extension HandleKeyboardShortcutActionsExtension on ComposerController {
void handleComposerShortcutAction(ComposerActionShortcutType shortcutType) {
log('$runtimeType::handleComposerShortcutAction: 🔥 Shortcut triggered: $shortcutType');
if (currentContext == null) return;
handleClickCloseComposer(currentContext!);
switch(shortcutType) {
case ComposerActionShortcutType.closeView:
if (currentContext == null) return;
handleClickCloseComposer(currentContext!);
break;
}
}
}