Do not inline OutcomeItem as it causes a compose build error
This commit is contained in:
parent
b4e9715592
commit
b61dbf672f
1 changed files with 3 additions and 3 deletions
|
@ -22,10 +22,10 @@ import it.vfsfitvnm.vimusic.utils.secondary
|
|||
import it.vfsfitvnm.youtubemusic.Outcome
|
||||
|
||||
@Composable
|
||||
inline fun <T> OutcomeItem(
|
||||
fun <T> OutcomeItem(
|
||||
outcome: Outcome<T>,
|
||||
noinline onInitialize: (() -> Unit)? = null,
|
||||
noinline onRetry: (() -> Unit)? = onInitialize,
|
||||
onInitialize: (() -> Unit)? = null,
|
||||
onRetry: (() -> Unit)? = onInitialize,
|
||||
onUninitialized: @Composable () -> Unit = {
|
||||
onInitialize?.let {
|
||||
SideEffect(it)
|
||||
|
|
Loading…
Reference in a new issue