mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-30 14:46:22 +00:00
Update transitions
This commit is contained in:
@@ -256,6 +256,8 @@ public class MagiskFragment extends BaseFragment implements SwipeRefreshLayout.O
|
||||
int image, color;
|
||||
String status, button = "";
|
||||
|
||||
TransitionManager.beginDelayedTransition(root, transition);
|
||||
|
||||
if (Config.remoteMagiskVersionCode < 0) {
|
||||
color = colorNeutral;
|
||||
image = R.drawable.ic_help;
|
||||
@@ -311,8 +313,6 @@ public class MagiskFragment extends BaseFragment implements SwipeRefreshLayout.O
|
||||
magisk.setValid(Config.remoteMagiskVersionCode > 0);
|
||||
manager.setValid(Config.remoteManagerVersionCode > 0);
|
||||
|
||||
TransitionManager.beginDelayedTransition(root, transition);
|
||||
|
||||
if (Config.remoteMagiskVersionCode < 0) {
|
||||
// Hide install related components
|
||||
installOptionCard.setVisibility(View.GONE);
|
||||
|
||||
Reference in New Issue
Block a user