Fix small UI bug

This commit is contained in:
topjohnwu 2017-07-11 01:09:40 +08:00
parent 264c6a50b6
commit b5e8673e62

View File

@ -298,7 +298,7 @@ public class MagiskFragment extends Fragment
updateCheckUI(); updateCheckUI();
if (magiskManager.safetyNetDone.isTriggered) if (magiskManager.safetyNetDone.isTriggered)
updateSafetyNetUI(); updateSafetyNetUI();
if (magiskManager.blockDetectionDone.isTriggered) if (magiskManager.blockDetectionDone.isTriggered || !Shell.rootAccess())
updateInstallUI(); updateInstallUI();
magiskManager.updateCheckDone.register(this); magiskManager.updateCheckDone.register(this);
magiskManager.safetyNetDone.register(this); magiskManager.safetyNetDone.register(this);