mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-18 20:08:53 +01:00
Show conversation title in GalleryActivity
This commit is contained in:
@@ -35,13 +35,14 @@ class GalleryActivity : QkActivity<GalleryViewModel>(), GalleryView {
|
||||
super.onCreate(savedInstanceState)
|
||||
setContentView(R.layout.gallery_activity)
|
||||
supportActionBar?.setDisplayHomeAsUpEnabled(true)
|
||||
title = ""
|
||||
viewModel.bindView(this)
|
||||
}
|
||||
|
||||
override fun render(state: GalleryState) {
|
||||
toolbar.setVisible(state.navigationVisible)
|
||||
|
||||
title = state.title
|
||||
|
||||
if (image.drawable == null) {
|
||||
GlideApp.with(this).load(state.imagePath).into(image)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user