Updated on 2026-08-14
This commit is contained in:
commit
fdfb07ee33
17 changed files with 263 additions and 20 deletions
|
|
@ -0,0 +1,13 @@
|
|||
package com.tangem.domain.notifications.models
|
||||
|
||||
enum class NotificationType(val type: String) {
|
||||
Promo("promo"),
|
||||
Unknown("unknown"),
|
||||
;
|
||||
|
||||
companion object {
|
||||
fun getType(type: String?): NotificationType {
|
||||
return entries.firstOrNull { it.type == type } ?: Unknown
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue