Make Timeline.Mode stable
This commit is contained in:
parent
e03fe028ba
commit
009437a998
1 changed files with 2 additions and 0 deletions
|
|
@ -8,6 +8,7 @@
|
|||
package io.element.android.libraries.matrix.api.timeline
|
||||
|
||||
import android.os.Parcelable
|
||||
import androidx.compose.runtime.Immutable
|
||||
import io.element.android.libraries.matrix.api.core.EventId
|
||||
import io.element.android.libraries.matrix.api.core.RoomId
|
||||
import io.element.android.libraries.matrix.api.core.ThreadId
|
||||
|
|
@ -42,6 +43,7 @@ interface Timeline : AutoCloseable {
|
|||
}
|
||||
|
||||
@Parcelize
|
||||
@Immutable
|
||||
sealed interface Mode : Parcelable {
|
||||
data object Live : Mode
|
||||
data class FocusedOnEvent(val eventId: EventId) : Mode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue