Send mutltiple notifications instead of summary notification (#1365)

This commit is contained in:
Mikołaj Pich
2021-08-01 13:19:46 +02:00
committed by GitHub
parent e678e6d7f9
commit ff8b3f8837
69 changed files with 86 additions and 46 deletions

View File

@ -7,6 +7,7 @@ import io.github.wulkanowy.ui.modules.main.MainView
sealed interface Notification {
val channelId: String
val group: String
val startMenu: MainView.Section
val icon: Int
val titleStringRes: Int
@ -15,6 +16,7 @@ sealed interface Notification {
data class MultipleNotifications(
override val channelId: String,
override val group: String,
override val startMenu: MainView.Section,
@DrawableRes override val icon: Int,
@PluralsRes override val titleStringRes: Int,
@ -26,6 +28,7 @@ data class MultipleNotifications(
data class OneNotification(
override val channelId: String,
override val group: String,
override val startMenu: MainView.Section,
@DrawableRes override val icon: Int,
@StringRes override val titleStringRes: Int,