mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt handle mouse back
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -258,7 +258,13 @@ class MyApp extends StatelessWidget {
|
||||
);
|
||||
if (Utils.isDesktop) {
|
||||
return MouseBackDetector(
|
||||
onTapDown: Get.back,
|
||||
onTapDown: () {
|
||||
if (SmartDialog.checkExist()) {
|
||||
SmartDialog.dismiss();
|
||||
} else {
|
||||
Get.back();
|
||||
}
|
||||
},
|
||||
child: child,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user