Merge pull request #2761 from nextcloud/bugfix/noid/showBackButtonWhenOpenFromNotification

Fix to show back button when message opened by notification
This commit is contained in:
Marcel Hibbe 2023-02-10 17:21:43 +01:00 committed by GitHub
commit 5cdf93b666
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,7 +139,7 @@ abstract class BaseController(@LayoutRes var layoutRes: Int, args: Bundle? = nul
showSearchOrToolbar()
setTitle()
if (actionBar != null) {
actionBar!!.setDisplayHomeAsUpEnabled(parentController != null || router.backstackSize > 1)
actionBar!!.setDisplayHomeAsUpEnabled(parentController != null || router.backstackSize >= 1)
}
super.onAttach(view)
}