Use default dispatcher to install icon packs
This commit is contained in:
parent
80b49dad51
commit
cdf1c2aa20
@ -51,7 +51,7 @@ class IconPackManager(
|
|||||||
}
|
}
|
||||||
|
|
||||||
suspend fun updateIconPacks() {
|
suspend fun updateIconPacks() {
|
||||||
withContext(Dispatchers.IO) {
|
withContext(Dispatchers.Default) {
|
||||||
IconPackInstaller(context, appDatabase).installIcons()
|
IconPackInstaller(context, appDatabase).installIcons()
|
||||||
GrayscaleMapInstaller(context, appDatabase).installIcons()
|
GrayscaleMapInstaller(context, appDatabase).installIcons()
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user