mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-03 23:15:31 +00:00
[fenix] Issue https://github.com/mozilla-mobile/fenix/issues/24739: Set QR code button to autohide
This commit is contained in:
parent
85c0a8b33a
commit
5d50fae8dc
@ -758,7 +758,8 @@ class SearchDialogFragment : AppCompatDialogFragment(), UserInteractionHandler {
|
||||
val qrAction = BrowserToolbar.Button(
|
||||
AppCompatResources.getDrawable(requireContext(), R.drawable.ic_qr)!!,
|
||||
requireContext().getString(R.string.search_scan_button),
|
||||
listener = ::launchQr
|
||||
autoHide = { true },
|
||||
listener = ::launchQr,
|
||||
)
|
||||
toolbarView.view.run {
|
||||
addEditActionEnd(IncreasedTapAreaActionDecorator(qrAction))
|
||||
|
Loading…
Reference in New Issue
Block a user