mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-08-09 06:12:44 +02:00
Speeding up the loading of emojis
This commit is contained in:
@@ -1147,9 +1147,7 @@ class Account(
|
|||||||
.stateIn(
|
.stateIn(
|
||||||
scope,
|
scope,
|
||||||
SharingStarted.Eagerly,
|
SharingStarted.Eagerly,
|
||||||
runBlocking(Dispatchers.Default) {
|
convertEmojiSelectionPack(getEmojiPackSelection()),
|
||||||
convertEmojiSelectionPack(getEmojiPackSelection())
|
|
||||||
},
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1187,9 +1185,7 @@ class Account(
|
|||||||
.stateIn(
|
.stateIn(
|
||||||
scope,
|
scope,
|
||||||
SharingStarted.Eagerly,
|
SharingStarted.Eagerly,
|
||||||
runBlocking(Dispatchers.Default) {
|
mergePack(convertEmojiSelectionPack(getEmojiPackSelection())?.map { it.value }?.toTypedArray() ?: emptyArray()),
|
||||||
mergePack(convertEmojiSelectionPack(getEmojiPackSelection())?.map { it.value }?.toTypedArray() ?: emptyArray())
|
|
||||||
},
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user