mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-05-30 14:09:11 +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) {
|
||||
whenOnline()
|
||||
Crossfade(targetState = online) {
|
||||
if (it) {
|
||||
whenOnline()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user