mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-22 11:15:10 +00:00
Merge pull request #42 from YTVanced/dev
fixed root dialog showing twice when user switches to root mode
This commit is contained in:
commit
91dfb33cc3
1 changed files with 0 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue