mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-06-12 21:27:47 +02:00
refactor: mapping wrapper
- rename members
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user