mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 10:20:25 +01:00
Allow media selection recipient selection fragment to display in user's chosen app theme.
This commit is contained in:
committed by
Cody Henthorne
parent
09b92a6559
commit
b20658c829
@@ -13,10 +13,11 @@ import org.thoughtcrime.securesms.util.DynamicTheme
|
||||
abstract class FragmentWrapperActivity : PassphraseRequiredActivity() {
|
||||
|
||||
protected open val dynamicTheme: DynamicTheme = DynamicNoActionBarTheme()
|
||||
protected open val contentViewId: Int = R.layout.fragment_container
|
||||
|
||||
override fun onCreate(savedInstanceState: Bundle?, ready: Boolean) {
|
||||
super.onCreate(savedInstanceState, ready)
|
||||
setContentView(R.layout.fragment_container)
|
||||
setContentView(contentViewId)
|
||||
dynamicTheme.onCreate(this)
|
||||
|
||||
if (savedInstanceState == null) {
|
||||
|
||||
Reference in New Issue
Block a user