Commit b85a6705 authored by Geoffrey Métais's avatar Geoffrey Métais

Search animation: prevent crash

parent d363cd42
......@@ -313,6 +313,7 @@ public abstract class MediaBrowserFragment<T extends BaseModel> extends Fragment
cs.setVisibility(R.id.searchButton, visible ? ConstraintSet.VISIBLE : ConstraintSet.GONE);
TransitionManager.beginDelayedTransition(cl);
cs.applyTo(cl);
mSearchButtonView.requestLayout();
} else UiTools.setViewVisibility(mSearchButtonView, visible ? View.VISIBLE : View.GONE);
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment