Added "Show stickers as images" checkbox

This commit is contained in:
Slava Monich 2020-10-09 18:20:09 +03:00
parent c60f2e59ce
commit 4e65375234

View file

@ -33,7 +33,6 @@ Page {
Column { Column {
id: column id: column
width: settingsPage.width width: settingsPage.width
spacing: Theme.paddingLarge
PageHeader { PageHeader {
title: qsTr("Settings") title: qsTr("Settings")
@ -53,8 +52,22 @@ Page {
} }
} }
VerticalScrollDecorator {} SectionHeader {
text: qsTr("Appearance")
}
TextSwitch {
checked: appSettings.showStickersAsImages
text: qsTr("Show stickers as images")
description: qsTr("Show background for stickers and align them centrally like images")
automaticCheck: false
onClicked: {
appSettings.showStickersAsImages = !checked
}
}
} }
VerticalScrollDecorator {}
} }
} }