1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-06 05:28:29 -04:00

dash: fix clock index hardcoded at tab 0

This commit is contained in:
bbedward
2026-07-06 13:06:30 -04:00
parent 240adfa28f
commit cc0bec2682
2 changed files with 4 additions and 3 deletions
@@ -1105,12 +1105,13 @@ Item {
onClockClicked: {
const section = topBarContent.getWidgetSection(parent) || "center";
const tabIndex = SettingsData.dashTabIndexForId("overview");
topBarContent.openWidgetPopout({
loader: dankDashPopoutLoader,
widgetItem: clockWidget,
section,
tabIndex: 0,
triggerSource: topBarContent._dashTriggerSource(section, 0),
tabIndex,
triggerSource: topBarContent._dashTriggerSource(section, tabIndex),
mode: "click",
useCenterSection: true,
setTriggerScreen: true