mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2025-05-11 21:15:37 +02:00
fix(PopScope): User able to exit patch screen when the installer is still running (#1663)
This commit is contained in:
parent
8cda2c164d
commit
eb6d3cd64e
1 changed files with 2 additions and 1 deletions
|
@ -17,6 +17,8 @@ class InstallerView extends StatelessWidget {
|
|||
onViewModelReady: (model) => model.initialize(context),
|
||||
viewModelBuilder: () => InstallerViewModel(),
|
||||
builder: (context, model, child) => PopScope(
|
||||
onPopInvoked: (bool didPop) => model.onWillPop(context),
|
||||
canPop: false,
|
||||
child: SafeArea(
|
||||
top: false,
|
||||
bottom: model.isPatching,
|
||||
|
@ -112,7 +114,6 @@ class InstallerView extends StatelessWidget {
|
|||
),
|
||||
),
|
||||
),
|
||||
onPopInvoked: (bool didPop) => model.onWillPop(context),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue