mirror of
https://github.com/meowarex/rl-mobile.git
synced 2026-06-18 05:23:12 +10:00
Rewrite Manager UI <3
This commit is contained in:
@@ -22,9 +22,9 @@ import com.meowarex.rlmobile.ui.screens.logs.LogsListScreenModel
|
||||
import com.meowarex.rlmobile.ui.screens.patching.PatchingScreenModel
|
||||
import com.meowarex.rlmobile.ui.screens.patchopts.PatchOptionsModel
|
||||
import com.meowarex.rlmobile.ui.screens.permissions.PermissionsModel
|
||||
import com.meowarex.rlmobile.ui.screens.plugins.PluginsModel
|
||||
import com.meowarex.rlmobile.ui.screens.settings.SettingsModel
|
||||
import com.meowarex.rlmobile.ui.widgets.updater.UpdaterViewModel
|
||||
import com.meowarex.rlmobile.updatechecker.UpdateCheckWorker
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import org.koin.android.ext.koin.androidContext
|
||||
import org.koin.core.context.startKoin
|
||||
@@ -57,7 +57,6 @@ class ManagerApplication : Application() {
|
||||
// UI Models
|
||||
modules(module {
|
||||
factoryOf(::HomeModel)
|
||||
factoryOf(::PluginsModel)
|
||||
factoryOf(::AboutModel)
|
||||
factoryOf(::PatchingScreenModel)
|
||||
factoryOf(::SettingsModel)
|
||||
@@ -101,5 +100,8 @@ class ManagerApplication : Application() {
|
||||
.fetcherCoroutineContext(Dispatchers.IO.limitedParallelism(5))
|
||||
.build()
|
||||
}
|
||||
|
||||
// Schedule periodic update check
|
||||
UpdateCheckWorker.schedule(this)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user