[fenix] For https://github.com/mozilla-mobile/fenix/issues/9932: Fix navigation icon theme missing from migration UI

Setting the `navigationBarColor` is done in the ThemeManager for the
attached activity. Since the migration UI is separate from that, we did
not get this for free.
pull/600/head
Jonathan Almeida 5 years ago committed by Emily Kager
parent e738f1f8b0
commit 048aba1ff9

@ -19,6 +19,7 @@ import androidx.recyclerview.widget.RecyclerView
import kotlinx.android.synthetic.main.activity_migration.*
import kotlinx.android.synthetic.main.migration_list_item.view.*
import mozilla.components.support.base.log.logger.Logger
import mozilla.components.support.ktx.android.content.getColorFromAttr
import mozilla.components.support.migration.AbstractMigrationProgressActivity
import mozilla.components.support.migration.AbstractMigrationService
import mozilla.components.support.migration.Migration
@ -47,6 +48,8 @@ class MigrationProgressActivity : AbstractMigrationProgressActivity() {
}
fun init() {
window.navigationBarColor = getColorFromAttr(R.attr.foundation)
val appName = migration_description.context.getString(R.string.app_name)
migration_description.apply {

Loading…
Cancel
Save