mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-03 23:15:31 +00:00
[fenix] Address breaking changes in A-C 100.0.20220324222826
This commit is contained in:
parent
4d248a775b
commit
ccd58284c3
@ -790,7 +790,6 @@ abstract class BaseBrowserFragment :
|
||||
|
||||
webchannelIntegration.set(
|
||||
feature = FxaWebChannelFeature(
|
||||
requireContext(),
|
||||
customTabSessionId,
|
||||
requireComponents.core.engine,
|
||||
requireComponents.core.store,
|
||||
|
@ -44,14 +44,14 @@ class IntentProcessors(
|
||||
* Provides intent processing functionality for ACTION_VIEW and ACTION_SEND intents.
|
||||
*/
|
||||
val intentProcessor by lazyMonitored {
|
||||
TabIntentProcessor(tabsUseCases, sessionUseCases.loadUrl, searchUseCases.newTabSearch, isPrivate = false)
|
||||
TabIntentProcessor(tabsUseCases, searchUseCases.newTabSearch, isPrivate = false)
|
||||
}
|
||||
|
||||
/**
|
||||
* Provides intent processing functionality for ACTION_VIEW and ACTION_SEND intents in private tabs.
|
||||
*/
|
||||
val privateIntentProcessor by lazyMonitored {
|
||||
TabIntentProcessor(tabsUseCases, sessionUseCases.loadUrl, searchUseCases.newTabSearch, isPrivate = true)
|
||||
TabIntentProcessor(tabsUseCases, searchUseCases.newTabSearch, isPrivate = true)
|
||||
}
|
||||
|
||||
val customTabIntentProcessor by lazyMonitored {
|
||||
|
@ -283,7 +283,7 @@ class BookmarkSearchDialogFragment : AppCompatDialogFragment(), UserInteractionH
|
||||
|
||||
if (voiceSearchButtonAlreadyAdded || !shouldShowVoiceSearch) return
|
||||
|
||||
toolbarView.view.addEditAction(
|
||||
toolbarView.view.addEditActionEnd(
|
||||
BrowserToolbar.Button(
|
||||
imageDrawable = AppCompatResources.getDrawable(requireContext(), R.drawable.ic_microphone)!!,
|
||||
contentDescription = requireContext().getString(R.string.voice_search_content_description),
|
||||
|
@ -285,7 +285,7 @@ class HistorySearchDialogFragment : AppCompatDialogFragment(), UserInteractionHa
|
||||
|
||||
if (voiceSearchButtonAlreadyAdded || !shouldShowVoiceSearch) return
|
||||
|
||||
toolbarView.view.addEditAction(
|
||||
toolbarView.view.addEditActionEnd(
|
||||
BrowserToolbar.Button(
|
||||
imageDrawable = AppCompatResources.getDrawable(requireContext(), R.drawable.ic_microphone)!!,
|
||||
contentDescription = requireContext().getString(R.string.voice_search_content_description),
|
||||
|
@ -636,7 +636,7 @@ class SearchDialogFragment : AppCompatDialogFragment(), UserInteractionHandler {
|
||||
requireContext().settings().shouldShowVoiceSearch
|
||||
|
||||
if (isVisible) {
|
||||
toolbarView.view.addEditAction(
|
||||
toolbarView.view.addEditActionEnd(
|
||||
BrowserToolbar.Button(
|
||||
AppCompatResources.getDrawable(requireContext(), R.drawable.ic_microphone)!!,
|
||||
requireContext().getString(R.string.voice_search_content_description),
|
||||
|
Loading…
Reference in New Issue
Block a user