mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-19 08:09:12 +01:00
Choose manual profile over scheduled profile if active.
This commit is contained in:
@@ -49,11 +49,7 @@ object NotificationProfiles {
|
||||
return manualProfile ?: scheduledProfile
|
||||
}
|
||||
|
||||
return if (manualProfile == scheduledProfile) {
|
||||
manualProfile
|
||||
} else {
|
||||
scheduledProfile
|
||||
}
|
||||
return manualProfile
|
||||
}
|
||||
|
||||
private fun shouldClearManualOverride(manualProfile: NotificationProfile?, scheduledProfile: NotificationProfile?): Boolean {
|
||||
|
||||
Reference in New Issue
Block a user