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

Commit

Permalink
fixed root dialog showing twice when user switches to root mode
Browse files Browse the repository at this point in the history
  • Loading branch information
X1nto committed Jul 2, 2020
1 parent a5730a9 commit 685c5a6
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 685c5a6

Please sign in to comment.