2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00

Bug 1830398 - Clicking on empty space from awesomebar should not be dispatched to homescreen.

This commit is contained in:
iorgamgabriel 2023-05-18 14:18:30 +03:00 committed by mergify[bot]
parent 670751f83d
commit b5c68a40b0

View File

@ -288,7 +288,9 @@ class SearchDialogFragment : AppCompatDialogFragment(), UserInteractionHandler {
}
else -> isPrivateButtonClicked = false
}
requireActivity().dispatchTouchEvent(event)
if (binding.awesomeBar.visibility != View.VISIBLE) {
requireActivity().dispatchTouchEvent(event)
}
false
}
}