Fix toolbar for instance list activity. (#2248)

Fixes #2247
This commit is contained in:
Levi Bard 2021-09-28 19:55:30 +02:00 committed by GitHub
parent d07c1b098e
commit 651b35267f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ class InstanceListActivity : BaseActivity(), HasAndroidInjector {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
val binding = ActivityAccountListBinding.inflate(layoutInflater)
setContentView(R.layout.activity_account_list)
setContentView(binding.root)
setSupportActionBar(binding.includedToolbar.toolbar)
supportActionBar?.apply {