fix: remove defaultAppSettings completely
This commit is contained in:
parent
6207c8af53
commit
6f11ee972a
|
@ -345,10 +345,10 @@ ScrollView {
|
|||
parent.font.underline = false
|
||||
}
|
||||
onClicked: {
|
||||
appSettings.notificationSetting = defaultAppSettings.notificationSetting
|
||||
appSettings.notificationSoundsEnabled = defaultAppSettings.notificationSoundsEnabled
|
||||
appSettings.notificationMessagePreviewSetting = defaultAppSettings.notificationMessagePreviewSetting
|
||||
appSettings.allowNotificationsFromNonContacts = defaultAppSettings.allowNotificationsFromNonContacts
|
||||
appSettings.notificationSetting = Constants.notifyAllMessages
|
||||
appSettings.notificationSoundsEnabled = true
|
||||
appSettings.notificationMessagePreviewSetting = Constants.notificationPreviewNameAndMessage
|
||||
appSettings.allowNotificationsFromNonContacts = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -69,15 +69,6 @@ ApplicationWindow {
|
|||
|
||||
signal navigateTo(string path)
|
||||
|
||||
Settings {
|
||||
id: defaultAppSettings
|
||||
property int notificationSetting: Constants.notifyAllMessages
|
||||
property bool notificationSoundsEnabled: true
|
||||
property int notificationMessagePreviewSetting: Constants.notificationPreviewNameAndMessage
|
||||
property bool allowNotificationsFromNonContacts: false
|
||||
}
|
||||
|
||||
|
||||
property bool currentlyHasANotification: false
|
||||
|
||||
onActiveChanged: {
|
||||
|
|
Loading…
Reference in New Issue