mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Minor improvements to UI
This commit is contained in:
@@ -54,7 +54,7 @@ ColumnLayout {
|
||||
placeholderText: "Enter the location name"
|
||||
Layout.fillWidth: true
|
||||
onEditingFinished: {
|
||||
Settings.data.location.name = text
|
||||
Settings.data.location.name = text.trim()
|
||||
LocationService.resetWeather()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -169,8 +169,8 @@ Singleton {
|
||||
}
|
||||
|
||||
// --------------------------------
|
||||
function errorCallback(message) {
|
||||
Logger.error(message)
|
||||
function errorCallback(module, message) {
|
||||
Logger.error(module, message)
|
||||
isFetchingWeather = false
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -32,8 +32,8 @@ RowLayout {
|
||||
|
||||
NText {
|
||||
text: description
|
||||
font.pointSize: Style.fontSizeXS * scaling
|
||||
color: Color.mOnSurface
|
||||
font.pointSize: Style.fontSizeS * scaling
|
||||
color: Color.mOnSurfaceVariant
|
||||
wrapMode: Text.WordWrap
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user