mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-28 15:32:50 -05:00
Add weather card click-through
This commit is contained in:
@@ -12,6 +12,8 @@ Item {
|
||||
implicitWidth: 700
|
||||
implicitHeight: 410
|
||||
|
||||
signal switchToWeatherTab()
|
||||
|
||||
Item {
|
||||
anchors.fill: parent
|
||||
// Clock - top left (narrower and shorter)
|
||||
@@ -29,6 +31,8 @@ Item {
|
||||
width: SettingsData.weatherEnabled ? parent.width * 0.3 : 0
|
||||
height: 100
|
||||
visible: SettingsData.weatherEnabled
|
||||
|
||||
onClicked: root.switchToWeatherTab()
|
||||
}
|
||||
|
||||
// UserInfo - top middle-right (extend when weather disabled)
|
||||
|
||||
Reference in New Issue
Block a user