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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user