Apply themed icon colors in UI layer, not in icon repository

This commit is contained in:
MM20
2022-04-11 20:04:19 +02:00
parent 8c6b6c5e91
commit 840c7db690
8 changed files with 65 additions and 81 deletions
@@ -36,9 +36,6 @@ class LauncherActivity : BaseActivity() {
viewModel.setDarkMode(resources.configuration.uiMode and Configuration.UI_MODE_NIGHT_MASK == Configuration.UI_MODE_NIGHT_YES)
val iconRepository: IconRepository by inject()
iconRepository.applyTheme(theme)
binding = ActivityLauncherBinding.inflate(LayoutInflater.from(this))
setContentView(binding.root)