mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-04 04:28:30 -04:00
dash: fix color tokens for placeholder in calendar, and weather failed
fixes #2891 port 1.5
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import qs.Common
|
||||
import qs.Services
|
||||
import qs.Widgets
|
||||
@@ -19,6 +18,7 @@ Card {
|
||||
anchors.centerIn: parent
|
||||
spacing: Theme.spacingS
|
||||
visible: !WeatherService.weather.available
|
||||
z: 1
|
||||
|
||||
DankSpinner {
|
||||
size: 24
|
||||
@@ -42,9 +42,9 @@ Card {
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
}
|
||||
|
||||
Button {
|
||||
DankButton {
|
||||
text: I18n.tr("Refresh")
|
||||
flat: true
|
||||
buttonHeight: 32
|
||||
visible: !WeatherService.weather.loading
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
onClicked: WeatherService.forceRefresh()
|
||||
|
||||
Reference in New Issue
Block a user