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(
|
||||||
padding: const EdgeInsets.symmetric(
|
padding: const EdgeInsets.symmetric(
|
||||||
vertical: 16, horizontal: 0),
|
vertical: 16,
|
||||||
|
horizontal: 0,
|
||||||
|
),
|
||||||
child: Visibility(
|
child: Visibility(
|
||||||
visible: !model.isPatching,
|
visible: !model.isPatching,
|
||||||
child: Row(
|
child: Row(
|
||||||
@ -103,6 +105,7 @@ class InstallerView extends StatelessWidget {
|
|||||||
onPressed: () {
|
onPressed: () {
|
||||||
if (model.isInstalled) {
|
if (model.isInstalled) {
|
||||||
model.openApp();
|
model.openApp();
|
||||||
|
model.cleanPatcher();
|
||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
} else {
|
} else {
|
||||||
model.installResult();
|
model.installResult();
|
||||||
|
Loading…
Reference in New Issue
Block a user