Fix notification shown attribute
This commit is contained in:
parent
747beb7620
commit
780370494c
|
@ -43,8 +43,6 @@ open class AppNotification(
|
|||
private val notificationData: NotificationData,
|
||||
private val channelData: ChannelData,
|
||||
) {
|
||||
private val shown = AtomicBoolean(false)
|
||||
|
||||
private fun createNotificationChannel() {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
||||
val notificationManager =
|
||||
|
@ -143,6 +141,10 @@ open class AppNotification(
|
|||
deleteNotification(notificationId)
|
||||
}
|
||||
}
|
||||
|
||||
companion object {
|
||||
private val shown = AtomicBoolean(false)
|
||||
}
|
||||
}
|
||||
|
||||
private val Context.warningChannelData: ChannelData
|
||||
|
|
Loading…
Reference in New Issue