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:
Inhishonor
2026-05-12 12:48:07 -07:00
parent 65d7ffe7d0
commit 6a20c9b9ff
3 changed files with 5 additions and 2 deletions
@@ -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)