fix #1617, show proper filename at resuming the fullscreen view
This commit is contained in:
parent
0b94e7ca6c
commit
47c360f920
1 changed files with 2 additions and 1 deletions
|
@ -127,7 +127,8 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
|||
invalidateOptionsMenu()
|
||||
|
||||
supportActionBar?.setBackgroundDrawable(ColorDrawable(Color.TRANSPARENT))
|
||||
supportActionBar?.title = Html.fromHtml("<font color=#FFFFFF'>${mPath.getFilenameFromPath()}</font>")
|
||||
val filename = getCurrentMedium()?.name ?: mPath.getFilenameFromPath()
|
||||
supportActionBar?.title = Html.fromHtml("<font color=#FFFFFF'>$filename</font>")
|
||||
window.statusBarColor = Color.TRANSPARENT
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue