diff --git a/src/gui/Pages/AccountSettings/Notifications.qml b/src/gui/Pages/AccountSettings/Notifications.qml index 1b42dc7e..0becac8c 100644 --- a/src/gui/Pages/AccountSettings/Notifications.qml +++ b/src/gui/Pages/AccountSettings/Notifications.qml @@ -114,7 +114,7 @@ HListView { } } - delegate: NotificationRuleDelegate { + delegate: PushRuleDelegate { page: root width: root.width } diff --git a/src/gui/Pages/AccountSettings/NotificationRuleButton.qml b/src/gui/Pages/AccountSettings/PushRuleButton.qml similarity index 100% rename from src/gui/Pages/AccountSettings/NotificationRuleButton.qml rename to src/gui/Pages/AccountSettings/PushRuleButton.qml diff --git a/src/gui/Pages/AccountSettings/NotificationRuleDelegate.qml b/src/gui/Pages/AccountSettings/PushRuleDelegate.qml similarity index 92% rename from src/gui/Pages/AccountSettings/NotificationRuleDelegate.qml rename to src/gui/Pages/AccountSettings/PushRuleDelegate.qml index 471690be..92f6be09 100644 --- a/src/gui/Pages/AccountSettings/NotificationRuleDelegate.qml +++ b/src/gui/Pages/AccountSettings/PushRuleDelegate.qml @@ -36,7 +36,7 @@ HTile { } HRowLayout { - NotificationRuleButton { + PushRuleButton { id: notifyButton toggles: "notify" @@ -51,7 +51,7 @@ HTile { } } - NotificationRuleButton { + PushRuleButton { requiresOn: notifyButton toggles: "highlight" @@ -68,13 +68,13 @@ HTile { } } - NotificationRuleButton { + PushRuleButton { requiresOn: notifyButton icon.name: "pushrule-action-bubble" toggles: "bubble" } - NotificationRuleButton { + PushRuleButton { requiresOn: notifyButton icon.name: "pushrule-action-sound" toggles: "sound" @@ -85,7 +85,7 @@ HTile { "default" } - NotificationRuleButton { + PushRuleButton { requiresOn: notifyButton icon.name: "pushrule-action-urgency-hint" toggles: "urgency_hint" @@ -93,7 +93,7 @@ HTile { HSpacer {} - NotificationRuleButton { + PushRuleButton { icon.name: "pushrule-edit" onClicked: root.clicked() }