summary refs log tree commit diff
path: root/resources/qml/pages/WelcomePage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/qml/pages/WelcomePage.qml')
-rw-r--r--resources/qml/pages/WelcomePage.qml22
1 files changed, 22 insertions, 0 deletions
diff --git a/resources/qml/pages/WelcomePage.qml b/resources/qml/pages/WelcomePage.qml

index 914de763..77c50b59 100644 --- a/resources/qml/pages/WelcomePage.qml +++ b/resources/qml/pages/WelcomePage.qml
@@ -9,6 +9,7 @@ import QtQuick.Layouts 1.2 import QtQuick.Window 2.15 import im.nheko 1.0 import "../components/" +import ".." ColumnLayout { Item { @@ -64,9 +65,30 @@ ColumnLayout { mainWindow.push(loginPage); } } + Item { Layout.fillWidth: true } + + } + + RowLayout { + Layout.alignment: Qt.AlignHCenter + Layout.margins: Nheko.paddingLarge + + ToggleButton { + Layout.margins: Nheko.paddingLarge + Layout.alignment: Qt.AlignRight + checked: Settings.reducedMotion + onCheckedChanged: Settings.reducedMotion = checked + } + + Label { + Layout.alignment: Qt.AlignLeft + Layout.margins: Nheko.paddingLarge + text: qsTr("Reduce animations") + color: Nheko.colors.text + } } Item { Layout.fillHeight: true