mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-09 16:11:20 +02:00
Some minor optimizations to improve UI speed (#593)
## Description Many tiny changes that improve UI rendering speed and reduces recompositions Still plenty of room for improvement though.
This commit is contained in:
parent
622a99631b
commit
243e08b635
10 changed files with 62 additions and 110 deletions
|
|
@ -1,5 +1,6 @@
|
|||
package com.github.damontecres.wholphin.data.model
|
||||
|
||||
import androidx.compose.runtime.Stable
|
||||
import com.github.damontecres.wholphin.ui.detail.CardGridItem
|
||||
import com.github.damontecres.wholphin.ui.detail.series.SeasonEpisodeIds
|
||||
import com.github.damontecres.wholphin.ui.formatDateTime
|
||||
|
|
@ -17,6 +18,7 @@ import org.jellyfin.sdk.model.extensions.ticks
|
|||
import kotlin.time.Duration
|
||||
|
||||
@Serializable
|
||||
@Stable
|
||||
data class BaseItem(
|
||||
val data: BaseItemDto,
|
||||
val useSeriesForPrimary: Boolean,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue