Choose manual profile over scheduled profile if active.

This commit is contained in:
Michelle Tang
2025-08-27 11:42:39 -04:00
parent 21363f085e
commit 8322bf3ecc
2 changed files with 3 additions and 7 deletions

View File

@@ -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 {