Skip to content

Commit

Permalink
Merge pull request #11839 from nextcloud/fix/search-actionbar
Browse files Browse the repository at this point in the history
Remove unnecessary call to clear title in UnifiedSearchFragment
  • Loading branch information
AndyScherzinger committed Jul 26, 2023
2 parents ac3106e + acfe6e6 commit 012b0b8
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,6 @@ class UnifiedSearchFragment : Fragment(), Injectable, UnifiedSearchListInterface
DisplayUtils.showSnackMessage(binding.root, error)
}
}
vm.query.observe(this) { query ->
if (activity is FileDisplayActivity) {
(activity as FileDisplayActivity)
.updateActionBarTitleAndHomeButtonByString(null)
}
}
vm.browserUri.observe(this) { uri ->
val browserIntent = Intent(Intent.ACTION_VIEW, uri)
startActivity(browserIntent)
Expand Down

0 comments on commit 012b0b8

Please sign in to comment.