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 onCloseDash: root.dashVisible = false
onSwitchToWeatherTab: { onSwitchToWeatherTab: {
if (SettingsData.weatherEnabled) { if (SettingsData.weatherEnabled) {
tabBar.currentIndex = 3; root.currentTabIndex = 3;
tabBar.tabClicked(3);
} }
} }
onSwitchToMediaTab: { onSwitchToMediaTab: {
tabBar.currentIndex = 1; root.currentTabIndex = 1;
tabBar.tabClicked(1);
} }
} }
} }