mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
fix: clean patcher view after opening app from installer
This commit is contained in:
parent
915a85a2f0
commit
3a7e7679f3
@ -82,7 +82,9 @@ class InstallerView extends StatelessWidget {
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(
|
||||
vertical: 16, horizontal: 0),
|
||||
vertical: 16,
|
||||
horizontal: 0,
|
||||
),
|
||||
child: Visibility(
|
||||
visible: !model.isPatching,
|
||||
child: Row(
|
||||
@ -103,6 +105,7 @@ class InstallerView extends StatelessWidget {
|
||||
onPressed: () {
|
||||
if (model.isInstalled) {
|
||||
model.openApp();
|
||||
model.cleanPatcher();
|
||||
Navigator.of(context).pop();
|
||||
} else {
|
||||
model.installResult();
|
||||
|
Loading…
Reference in New Issue
Block a user