mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-06-25 20:45:19 -04:00
feat(DankDash): configurable drag-n-drop tab arrangement & hide options in dms settings
This commit is contained in:
@@ -269,13 +269,13 @@ Item {
|
||||
function resolveTabIndex(tab: string): int {
|
||||
switch ((tab || "").toLowerCase()) {
|
||||
case "media":
|
||||
return 1;
|
||||
return SettingsData.dashTabIndexForId("media");
|
||||
case "wallpaper":
|
||||
return 2;
|
||||
return SettingsData.dashTabIndexForId("wallpaper");
|
||||
case "weather":
|
||||
return SettingsData.weatherEnabled ? 3 : 0;
|
||||
return SettingsData.dashTabIndexForId("weather");
|
||||
default:
|
||||
return 0;
|
||||
return SettingsData.dashTabIndexForId("overview");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user