mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-06-26 22:40:53 +02:00
Using crossfade to show live activities
This commit is contained in:
parent
275baa7497
commit
743a4c9d87
@ -222,8 +222,10 @@ fun CheckIfLiveActivityIsOnline(note: Note, whenOnline: @Composable () -> Unit)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (online) {
|
Crossfade(targetState = online) {
|
||||||
whenOnline()
|
if (it) {
|
||||||
|
whenOnline()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user