mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-05 13:08:29 -04:00
feat(dankdash): add native DankConnect integration
This commit is contained in:
@@ -9,8 +9,11 @@ Item {
|
||||
LayoutMirroring.enabled: I18n.isRtl
|
||||
LayoutMirroring.childrenInherit: true
|
||||
|
||||
readonly property int overviewGridHeight: 410
|
||||
readonly property int dankConnectCardHeight: 124
|
||||
|
||||
implicitWidth: SettingsData.showWeekNumber ? 736 : 700
|
||||
implicitHeight: 410
|
||||
implicitHeight: overviewGridHeight + Theme.spacingM + dankConnectCardHeight
|
||||
|
||||
signal switchToWeatherTab
|
||||
signal switchToMediaTab
|
||||
@@ -89,5 +92,12 @@ Item {
|
||||
|
||||
onClicked: root.switchToMediaTab()
|
||||
}
|
||||
|
||||
DankConnectOverviewCard {
|
||||
x: 0
|
||||
y: root.overviewGridHeight + Theme.spacingM
|
||||
width: parent.width
|
||||
height: root.dankConnectCardHeight
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user