1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

dankdash: fix binding breaking when clicking overview card

fixes #1170
This commit is contained in:
bbedward
2025-12-27 00:58:11 -05:00
parent 6c4caf121a
commit 3ebdd5631c

View File

@@ -338,13 +338,11 @@ DankPopout {
onCloseDash: root.dashVisible = false
onSwitchToWeatherTab: {
if (SettingsData.weatherEnabled) {
tabBar.currentIndex = 3;
tabBar.tabClicked(3);
root.currentTabIndex = 3;
}
}
onSwitchToMediaTab: {
tabBar.currentIndex = 1;
tabBar.tabClicked(1);
root.currentTabIndex = 1;
}
}
}