Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-10-16 21:54:59 +08:00
parent bebf34db23
commit a161fa5e58
3 changed files with 14 additions and 4 deletions

View File

@@ -295,10 +295,15 @@ class MyApp extends StatelessWidget {
Get.back(); Get.back();
} }
return Shortcuts( return Focus(
shortcuts: { canRequestFocus: false,
LogicalKeySet(LogicalKeyboardKey.escape): onKeyEvent: (_, event) {
VoidCallbackIntent(onBack), if (event.logicalKey == LogicalKeyboardKey.escape &&
event is KeyDownEvent) {
onBack();
return KeyEventResult.handled;
}
return KeyEventResult.ignored;
}, },
child: MouseBackDetector( child: MouseBackDetector(
onTapDown: onBack, onTapDown: onBack,

View File

@@ -805,6 +805,10 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
), ),
onTap: () => onTap: () =>
plPlayerController.triggerFullScreen(status: !isFullScreen), plPlayerController.triggerFullScreen(status: !isFullScreen),
onSecondaryTap: () => plPlayerController.triggerFullScreen(
status: !isFullScreen,
inAppFullScreen: true,
),
), ),
}; };

View File

@@ -107,6 +107,7 @@ abstract class Update {
downloadBtn('zip', ext: 'zip'), downloadBtn('zip', ext: 'zip'),
downloadBtn('exe', ext: 'exe'), downloadBtn('exe', ext: 'exe'),
] else if (Platform.isLinux) ...[ ] else if (Platform.isLinux) ...[
downloadBtn('rpm', ext: 'rpm'),
downloadBtn('deb', ext: 'deb'), downloadBtn('deb', ext: 'deb'),
downloadBtn('targz', ext: 'tar.gz'), downloadBtn('targz', ext: 'tar.gz'),
] else ] else