Add an option to lazy load room message at initial sync.

Reduces initial sync time. Useful if you joined a lot of rooms and have
a slow homeserver.
This commit is contained in:
Black Hat
2018-08-10 18:58:53 +08:00
parent 9a836a23fb
commit 4db5f3f355
9 changed files with 58 additions and 11 deletions

View File

@@ -7,8 +7,10 @@ import "component"
import "form"
Page {
property alias lazyLoad: generalForm.lazyLoad
property alias darkTheme: appearanceForm.darkTheme
property alias miniMode: appearanceForm.miniMode
property var connection
SettingAccountForm {
@@ -16,6 +18,11 @@ Page {
parent: null
}
SettingGeneralForm {
id: generalForm
parent: null
}
SettingAppearanceForm {
id: appearanceForm
parent: null
@@ -36,6 +43,13 @@ Page {
onClicked: pushToStack(accountForm)
}
ItemDelegate {
Layout.fillWidth: true
text: "General"
onClicked: pushToStack(generalForm)
}
ItemDelegate {
Layout.fillWidth: true