mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Let Announcement.Fullscreen be an enum.
This commit is contained in:
+2
-3
@@ -12,9 +12,8 @@ import androidx.compose.runtime.Immutable
|
|||||||
|
|
||||||
@Immutable
|
@Immutable
|
||||||
sealed interface Announcement {
|
sealed interface Announcement {
|
||||||
@Immutable
|
enum class Fullscreen : Announcement {
|
||||||
sealed interface Fullscreen : Announcement {
|
Space,
|
||||||
data object Space : Fullscreen
|
|
||||||
}
|
}
|
||||||
|
|
||||||
data object NewNotificationSound : Announcement
|
data object NewNotificationSound : Announcement
|
||||||
|
|||||||
Reference in New Issue
Block a user