mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2026-01-11 05:36:17 +00:00
refactor: Replace deprecated WillPopScope (#1604)
This commit is contained in:
@@ -595,8 +595,8 @@ class ManagerAPI {
|
||||
return showDialog(
|
||||
barrierDismissible: false,
|
||||
context: context,
|
||||
builder: (context) => WillPopScope(
|
||||
onWillPop: () async => false,
|
||||
builder: (context) => PopScope(
|
||||
canPop: false,
|
||||
child: AlertDialog(
|
||||
title: I18nText('warning'),
|
||||
content: ValueListenableBuilder(
|
||||
|
||||
Reference in New Issue
Block a user