From b7433b15ff9014112a39b758ad728fd71fd89fd2 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 6 Feb 2020 08:30:39 -0800 Subject: mobile/settings: refer to the correct theme object This was missed when switching object names. Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/Settings.qml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mobile-widgets/qml/Settings.qml b/mobile-widgets/qml/Settings.qml index d6522bcdc..e01d83219 100644 --- a/mobile-widgets/qml/Settings.qml +++ b/mobile-widgets/qml/Settings.qml @@ -321,23 +321,23 @@ TemplatePage { spacing: Kirigami.Units.largeSpacing TemplateButton { text: qsTr("smaller") - enabled: ThemeNew.currentScale !== 0.85 + enabled: subsurfaceTheme.currentScale !== 0.85 onClicked: { - ThemeNew.currentScale = 0.85 + subsurfaceTheme.currentScale = 0.85 } } TemplateButton { text: qsTr("regular") - enabled: ThemeNew.currentScale !== 1.0 + enabled: subsurfaceTheme.currentScale !== 1.0 onClicked: { - ThemeNew.currentScale = 1.0 + subsurfaceTheme.currentScale = 1.0 } } TemplateButton { text: qsTr("larger") - enabled: ThemeNew.currentScale !== 1.15 + enabled: subsurfaceTheme.currentScale !== 1.15 onClicked: { - ThemeNew.currentScale = 1.15 + subsurfaceTheme.currentScale = 1.15 } } } -- cgit v1.2.3-70-g09d2