Skip to content
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #42 from YTVanced/dev
Browse files Browse the repository at this point in the history
fixed root dialog showing twice when user switches to root mode
  • Loading branch information
KevinX8 committed Jul 2, 2020
2 parents 029958d + 685c5a6 commit 91dfb33
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 91dfb33

Please sign in to comment.