mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-06-12 21:27:47 +02:00
refactor: ModConfig lateInit
This commit is contained in:
@ -57,7 +57,7 @@ class RemoteSideContext(
|
||||
set(value) { _activity?.clear(); _activity = WeakReference(value) }
|
||||
|
||||
val sharedPreferences: SharedPreferences get() = androidContext.getSharedPreferences("prefs", 0)
|
||||
val config = ModConfig()
|
||||
val config = ModConfig(androidContext)
|
||||
val translation = LocaleWrapper()
|
||||
val mappings = MappingsWrapper()
|
||||
val downloadTaskManager = DownloadTaskManager()
|
||||
|
Reference in New Issue
Block a user