forked from upstream-mirrors/quik
fix(gallery): Use a dedicated dark theme
The app was setting gallery to black mode programmatically, and for some reason this was affecting other activities theming. We can just use a custom theme to force black mode that won't mess with other screens.
This commit is contained in:
@@ -56,7 +56,6 @@ class GalleryActivity : QkActivity(), GalleryView {
|
||||
private val viewModel by lazy { ViewModelProviders.of(this, viewModelFactory)[GalleryViewModel::class.java] }
|
||||
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
delegate.localNightMode = AppCompatDelegate.MODE_NIGHT_YES
|
||||
AndroidInjection.inject(this)
|
||||
super.onCreate(savedInstanceState)
|
||||
binding = GalleryActivityBinding.inflate(layoutInflater)
|
||||
|
||||
Reference in New Issue
Block a user