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:
Doug
2025-05-26 11:46:33 +01:00
committed by Stefan Ceriu
parent 4adfa7c98d
commit 542d382870
4 changed files with 22 additions and 3 deletions
@@ -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