|
|
|
@ -387,7 +387,9 @@ class MainActivity :
|
|
|
|
lifecycleScope.launch(Dispatchers.Default) {
|
|
|
|
lifecycleScope.launch(Dispatchers.Default) {
|
|
|
|
TrackWorker.setup(applicationContext)
|
|
|
|
TrackWorker.setup(applicationContext)
|
|
|
|
SuggestionsWorker.setup(applicationContext)
|
|
|
|
SuggestionsWorker.setup(applicationContext)
|
|
|
|
|
|
|
|
if (AppUpdateChecker.isUpdateSupported(this@MainActivity)) {
|
|
|
|
AppUpdateChecker(this@MainActivity).checkIfNeeded()
|
|
|
|
AppUpdateChecker(this@MainActivity).checkIfNeeded()
|
|
|
|
|
|
|
|
}
|
|
|
|
if (!get<AppSettings>().isSourcesSelected) {
|
|
|
|
if (!get<AppSettings>().isSourcesSelected) {
|
|
|
|
withContext(Dispatchers.Main) {
|
|
|
|
withContext(Dispatchers.Main) {
|
|
|
|
OnboardDialogFragment.showWelcome(supportFragmentManager)
|
|
|
|
OnboardDialogFragment.showWelcome(supportFragmentManager)
|
|
|
|
|