diff --git a/app/src/main/java/com/vanced/manager/core/fragments/Home.kt b/app/src/main/java/com/vanced/manager/core/fragments/Home.kt index 4133b60c..37ff17d2 100644 --- a/app/src/main/java/com/vanced/manager/core/fragments/Home.kt +++ b/app/src/main/java/com/vanced/manager/core/fragments/Home.kt @@ -105,7 +105,6 @@ open class Home : BaseFragment(), View.OnClickListener { R.id.root_switch -> if (Shell.rootAccess()) { writeToVariantPref("root", R.anim.slide_in_right, R.anim.slide_out_left) - activity?.let { showRootDialog(it) } } else { writeToVariantPref("nonroot", R.anim.slide_in_left, R.anim.slide_out_right)