mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-01-28 01:09:32 +01:00
avoid adding the storage analysis tab at fresh installs
This commit is contained in:
parent
2f73baf13e
commit
f9cc9dd90c
@ -65,7 +65,9 @@ class MainActivity : SimpleActivity() {
|
|||||||
|
|
||||||
if (!config.wasStorageAnalysisTabAdded && isOreoPlus()) {
|
if (!config.wasStorageAnalysisTabAdded && isOreoPlus()) {
|
||||||
config.wasStorageAnalysisTabAdded = true
|
config.wasStorageAnalysisTabAdded = true
|
||||||
config.showTabs += TAB_STORAGE_ANALYSIS
|
if (config.showTabs and TAB_STORAGE_ANALYSIS == 0) {
|
||||||
|
config.showTabs += TAB_STORAGE_ANALYSIS
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
setupTabColors(config.lastUsedViewPagerPage)
|
setupTabColors(config.lastUsedViewPagerPage)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user