mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-30 15:07:49 -04:00
24 lines
594 B
QML
24 lines
594 B
QML
pragma ComponentBehavior: Bound
|
|
|
|
import QtQuick
|
|
import qs.Common
|
|
import qs.Modules.DankDash
|
|
|
|
DashTabFace {
|
|
id: root
|
|
|
|
activityId: "home"
|
|
tabComponent: Component {
|
|
OverviewTab {
|
|
live: root.live
|
|
onCloseDash: root.controller.requestCollapse()
|
|
onNavFocusRequested: root.focusFace()
|
|
onSwitchToMediaTab: root.controller.requestActivity("media", true, true)
|
|
onSwitchToWeatherTab: {
|
|
if (SettingsData.weatherEnabled)
|
|
root.controller.requestWeather(false);
|
|
}
|
|
}
|
|
}
|
|
}
|