revert: "feat: improve predictive back (#1487)"

This reverts commit 06ff36c836.

Signed-off-by: validcube <pun.butrach@gmail.com>
This commit is contained in:
validcube 2023-12-11 19:02:13 +07:00
parent 637641cf54
commit 7f26c5bd45
No known key found for this signature in database
GPG key ID: DBA94253E1D3F267
4 changed files with 27 additions and 38 deletions

View file

@ -582,8 +582,8 @@ class ManagerAPI {
return showDialog(
barrierDismissible: false,
context: context,
builder: (context) => PopScope(
canPop: false,
builder: (context) => WillPopScope(
onWillPop: () async => false,
child: AlertDialog(
backgroundColor: Theme.of(context).colorScheme.secondaryContainer,
title: I18nText('warning'),