Fixed going back twice from file viewer when pressing top bar back button
This commit is contained in:
parent
55820991f5
commit
d78d67f1ab
1 changed files with 4 additions and 0 deletions
|
@ -56,4 +56,8 @@ abstract class GenericViewerFragment<T : ViewDataBinding> : SecureFragment<T>()
|
|||
(childFragmentManager.findFragmentById(R.id.top_bar_fragment) as? TopBarFragment)
|
||||
?.setContent(content)
|
||||
}
|
||||
|
||||
override fun goBack() {
|
||||
findNavController().popBackStack()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue