Skip to content

Commit

Permalink
Remove unnecessary call to clear title in UnifiedSearchFragment
Browse files Browse the repository at this point in the history
Signed-off-by: ZetaTom <[email protected]>
  • Loading branch information
ZetaTom committed Jul 25, 2023
1 parent 5497775 commit acfe6e6
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 acfe6e6

Please sign in to comment.