kopia lustrzana https://github.com/vitorpamplona/amethyst
No need to launch, just use IO
rodzic
afee0ddc53
commit
24be6cd90d
|
@ -1346,7 +1346,9 @@ private fun LoadAndRenderBadge(
|
|||
|
||||
LaunchedEffect(key1 = badgeAwardEventHex) {
|
||||
if (baseNote == null) {
|
||||
launch(Dispatchers.IO) { baseNote = LocalCache.checkGetOrCreateNote(badgeAwardEventHex) }
|
||||
withContext(Dispatchers.IO) {
|
||||
baseNote = LocalCache.checkGetOrCreateNote(badgeAwardEventHex)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue