Added requesting navigation being hidden when showing alternative view

This commit is contained in:
Viktor De Pasquale 2020-03-24 15:55:10 +01:00 committed by John Wu
parent bb9c362bab
commit fc2d0246e6

View File

@ -26,6 +26,7 @@ class LogFragment : BaseUIFragment<LogViewModel, FragmentLogMd2Binding>() {
actionSave?.isVisible = !value
with(activity as MainActivity) {
invalidateToolbar()
requestNavigationHidden(value)
setDisplayHomeAsUpEnabled(value)
}
}