refactor: mapping wrapper

- rename members
This commit is contained in:
rhunk
2023-08-07 00:38:20 +02:00
parent 289afce4a5
commit 3fc6030a23
13 changed files with 138 additions and 98 deletions

View File

@ -28,7 +28,7 @@ class RemoteSideContext(
val config = ModConfig()
val translation = LocaleWrapper()
val mappings = MappingsWrapper(androidContext)
val mappings = MappingsWrapper()
val downloadTaskManager = DownloadTaskManager()
init {
@ -38,7 +38,7 @@ class RemoteSideContext(
translation.loadFromContext(androidContext)
mappings.apply {
loadFromContext(androidContext)
init()
init(androidContext)
}
downloadTaskManager.init(androidContext)
}.onFailure {