long press quit without dialog
This commit is contained in:
+4
@@ -2043,6 +2043,10 @@ class _ProfileCard extends HookConsumerWidget {
|
|||||||
await exitApp(ref.container);
|
await exitApp(ref.container);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
onLongPress: () async {
|
||||||
|
Navigator.pop(context);
|
||||||
|
await exitApp(ref.container);
|
||||||
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user