Skip to content

Commit

Permalink
Update transitions
Browse files Browse the repository at this point in the history
  • Loading branch information
topjohnwu committed Mar 24, 2019
1 parent e25ce63 commit b45db44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ dependencies {
implementation "androidx.cardview:cardview:${androidXVersion}"
implementation "com.google.android.material:material:${androidXVersion}"
implementation 'androidx.work:work-runtime:2.0.0'
implementation 'androidx.transition:transition:1.0.1'
implementation 'androidx.transition:transition:1.1.0-alpha02'

def libsuVersion = '2.3.2'
implementation "com.github.topjohnwu.libsu:core:${libsuVersion}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ private void updateCheckUI() {
int image, color;
String status, button = "";

TransitionManager.beginDelayedTransition(root, transition);

if (Config.remoteMagiskVersionCode < 0) {
color = colorNeutral;
image = R.drawable.ic_help;
Expand Down Expand Up @@ -311,8 +313,6 @@ private void updateCheckUI() {
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);
Expand Down

0 comments on commit b45db44

Please sign in to comment.