mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2026-01-26 12:31:02 +00:00
fix: clean patcher view after opening app from installer
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user