mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-03-17 21:31:57 +01:00
Speeding up the loading of emojis
This commit is contained in:
parent
16331d268d
commit
0536c141b7
@ -1147,9 +1147,7 @@ class Account(
|
||||
.stateIn(
|
||||
scope,
|
||||
SharingStarted.Eagerly,
|
||||
runBlocking(Dispatchers.Default) {
|
||||
convertEmojiSelectionPack(getEmojiPackSelection())
|
||||
},
|
||||
convertEmojiSelectionPack(getEmojiPackSelection()),
|
||||
)
|
||||
}
|
||||
|
||||
@ -1187,9 +1185,7 @@ class Account(
|
||||
.stateIn(
|
||||
scope,
|
||||
SharingStarted.Eagerly,
|
||||
runBlocking(Dispatchers.Default) {
|
||||
mergePack(convertEmojiSelectionPack(getEmojiPackSelection())?.map { it.value }?.toTypedArray() ?: emptyArray())
|
||||
},
|
||||
mergePack(convertEmojiSelectionPack(getEmojiPackSelection())?.map { it.value }?.toTypedArray() ?: emptyArray()),
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user