Skip to content

Commit f2f4579

Browse files
Merge pull request #9994 from rafaeltonholo/fix/9982/build-issue
fix: use NotificationPriority instead of int
2 parents 9284acc + 376e2ea commit f2f4579

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

feature/notification/api/src/commonMain/kotlin/net/thunderbird/feature/notification/api/content/SentFolderNotFoundNotification.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import net.thunderbird.feature.notification.api.ui.action.NotificationAction
55
import net.thunderbird.feature.notification.api.ui.icon.NotificationIcon
66
import net.thunderbird.feature.notification.api.ui.icon.NotificationIcons
77
import net.thunderbird.feature.notification.api.ui.style.InAppNotificationStyle
8+
import net.thunderbird.feature.notification.api.ui.style.NotificationPriority
89
import net.thunderbird.feature.notification.api.ui.style.inAppNotificationStyle
910
import net.thunderbird.feature.notification.resources.api.Res
1011
import net.thunderbird.feature.notification.resources.api.sent_folder_not_found_title
@@ -30,8 +31,7 @@ data class SentFolderNotFoundNotification internal constructor(
3031
override val icon: NotificationIcon get() = NotificationIcons.SentFolderNotFound
3132
override val actions: Set<NotificationAction> = setOf(NotificationAction.AssignSentFolder(accountUuid))
3233
override val inAppNotificationStyle: InAppNotificationStyle
33-
// TODO(9572): Properly setup the notification priority.
34-
get() = inAppNotificationStyle { bannerGlobal(priority = Int.MAX_VALUE) }
34+
get() = inAppNotificationStyle { bannerGlobal(priority = NotificationPriority.Max) }
3535
}
3636

3737
/**

0 commit comments

Comments
 (0)