mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
Update using tabs boolean immediately if it changes.
It is less erroprone to assign the new value immediately after we have changed for a change. Test: Manual Bug: 222552955 Change-Id: Ief79ce0b25587c6b6e4f41e82b33692b06b5d083
This commit is contained in:
@@ -443,8 +443,8 @@ public abstract class BaseAllAppsContainerView<T extends Context & ActivityConte
|
||||
if (showTabs == mUsingTabs && !force) {
|
||||
return;
|
||||
}
|
||||
replaceRVContainer(showTabs);
|
||||
mUsingTabs = showTabs;
|
||||
replaceRVContainer(mUsingTabs);
|
||||
|
||||
mAllAppsStore.unregisterIconContainer(mAH.get(AdapterHolder.MAIN).mRecyclerView);
|
||||
mAllAppsStore.unregisterIconContainer(mAH.get(AdapterHolder.WORK).mRecyclerView);
|
||||
|
||||
Reference in New Issue
Block a user