Preloading channel from LocalCache

This commit is contained in:
Vitor Pamplona
2023-06-26 14:59:18 -04:00
parent 3477e7b8ba
commit dd7f3225c6
@@ -115,7 +115,7 @@ fun ChannelScreen(
) {
if (channelId == null) return
var channelBase by remember { mutableStateOf<Channel?>(null) }
var channelBase by remember { mutableStateOf<Channel?>(LocalCache.getChannelIfExists(channelId)) }
LaunchedEffect(channelId) {
withContext(Dispatchers.IO) {