mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 19:47:37 +00:00
Fix #4140
This commit is contained in:
parent
93ba4cca68
commit
95e1e57407
@ -3,6 +3,7 @@ package com.topjohnwu.magisk.events.dialog
|
|||||||
import android.app.ProgressDialog
|
import android.app.ProgressDialog
|
||||||
import android.widget.Toast
|
import android.widget.Toast
|
||||||
import com.topjohnwu.magisk.R
|
import com.topjohnwu.magisk.R
|
||||||
|
import com.topjohnwu.magisk.arch.BaseUIActivity
|
||||||
import com.topjohnwu.magisk.ui.flash.FlashFragment
|
import com.topjohnwu.magisk.ui.flash.FlashFragment
|
||||||
import com.topjohnwu.magisk.utils.Utils
|
import com.topjohnwu.magisk.utils.Utils
|
||||||
import com.topjohnwu.magisk.view.MagiskDialog
|
import com.topjohnwu.magisk.view.MagiskDialog
|
||||||
@ -41,7 +42,8 @@ class UninstallDialog : DialogEvent() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun completeUninstall() {
|
private fun completeUninstall() {
|
||||||
FlashFragment.uninstall()
|
(dialog.ownerActivity as? BaseUIActivity<*, *>)
|
||||||
|
?.navigation?.navigate(FlashFragment.uninstall())
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user