mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Add a developer option that hides notification alerts when a sound wouldn't be played.
Enabling this makes isNoisy behave like iMessage's Hide Alerts option.
This commit is contained in:
+7
@@ -92,6 +92,13 @@ struct DeveloperOptionsScreen: View {
|
||||
Text("Element Call remote URL override")
|
||||
}
|
||||
|
||||
Section("Notifications") {
|
||||
Toggle(isOn: $context.hideQuietNotificationAlerts) {
|
||||
Text("Hide quiet alerts")
|
||||
Text("The badge count will still be updated")
|
||||
}
|
||||
}
|
||||
|
||||
Section {
|
||||
Button {
|
||||
showConfetti = true
|
||||
|
||||
Reference in New Issue
Block a user