avoid adding the storage analysis tab at fresh installs

This commit is contained in:
tibbi 2021-10-14 21:46:35 +02:00
parent 2f73baf13e
commit f9cc9dd90c
1 changed files with 3 additions and 1 deletions

View File

@ -65,8 +65,10 @@ class MainActivity : SimpleActivity() {
if (!config.wasStorageAnalysisTabAdded && isOreoPlus()) {
config.wasStorageAnalysisTabAdded = true
if (config.showTabs and TAB_STORAGE_ANALYSIS == 0) {
config.showTabs += TAB_STORAGE_ANALYSIS
}
}
setupTabColors(config.lastUsedViewPagerPage)
storeStateVariables()