Make FocusRequestState immutable.
This commit is contained in:
parent
2bc8d6e632
commit
5aff720c4e
1 changed files with 1 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ data class TimelineState(
|
|||
val hasAnyEvent = timelineItems.any { it is TimelineItem.Event }
|
||||
}
|
||||
|
||||
@Immutable
|
||||
sealed interface FocusRequestState {
|
||||
data object None : FocusRequestState
|
||||
data class Cached(val index: Int) : FocusRequestState
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue