1 files changed, 4 insertions, 5 deletions
diff --git a/resources/qml/pages/UserSettingsPage.qml b/resources/qml/pages/UserSettingsPage.qml
index 5c2ebf5f..08581ac5 100644
--- a/resources/qml/pages/UserSettingsPage.qml
+++ b/resources/qml/pages/UserSettingsPage.qml
@@ -16,12 +16,11 @@ Rectangle {
property int collapsePoint: 600
property bool collapsed: width < collapsePoint
- color: Nheko.colors.window
+ color: palette.window
ScrollView {
id: scroll
- palette: Nheko.colors
ScrollBar.horizontal.visible: false
anchors.fill: parent
anchors.topMargin: (collapsed? backButton.height : 0)+Nheko.paddingLarge
@@ -51,7 +50,7 @@ Rectangle {
Label {
Layout.alignment: Qt.AlignLeft
Layout.fillWidth: true
- color: Nheko.colors.text
+ color: palette.text
text: model.name
//Layout.column: 0
Layout.columnSpan: (model.type == UserSettingsModel.SectionTitle && !userSettingsDialog.collapsed) ? 2 : 1
@@ -159,7 +158,7 @@ Rectangle {
DelegateChoice {
roleValue: UserSettingsModel.ReadOnlyText
TextEdit {
- color: Nheko.colors.text
+ color: palette.text
text: model.value
readOnly: true
selectByMouse: !Settings.mobileMode
@@ -176,7 +175,7 @@ Rectangle {
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
- color: Nheko.colors.buttonText
+ color: palette.buttonText
height: 1
}
}
|