Disabled double back
This commit is contained in:
parent
354e82cacd
commit
33f656997c
|
@ -984,8 +984,9 @@ class _MainAppState extends State<MainApp> {
|
||||||
return WindowBorder(
|
return WindowBorder(
|
||||||
color: Theme.of(context).colorScheme.surface,
|
color: Theme.of(context).colorScheme.surface,
|
||||||
child: PopScope(
|
child: PopScope(
|
||||||
canPop:
|
// disabled for now, shows buggy behavior if enabled
|
||||||
DateTime.now().millisecondsSinceEpoch < (backPullTimestamp + 2000),
|
canPop: true,
|
||||||
|
// DateTime.now().millisecondsSinceEpoch < (backPullTimestamp + 2000),
|
||||||
onPopInvoked: (didPop) {
|
onPopInvoked: (didPop) {
|
||||||
if (!didPop) {
|
if (!didPop) {
|
||||||
setState(() {
|
setState(() {
|
||||||
|
|
Loading…
Reference in New Issue