mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-17 15:26:23 +00:00
[fenix] No issue: Update navigation library
This commit is contained in:
parent
ad743e6028
commit
bb48b2d28f
@ -222,7 +222,7 @@ abstract class BaseBrowserFragment : Fragment(), BackHandler, SessionManager.Obs
|
|||||||
|
|
||||||
contextMenuFeature.set(
|
contextMenuFeature.set(
|
||||||
feature = ContextMenuFeature(
|
feature = ContextMenuFeature(
|
||||||
fragmentManager = requireFragmentManager(),
|
fragmentManager = parentFragmentManager,
|
||||||
store = store,
|
store = store,
|
||||||
candidates = FenixContextMenuCandidate.defaultCandidates(
|
candidates = FenixContextMenuCandidate.defaultCandidates(
|
||||||
context,
|
context,
|
||||||
@ -271,7 +271,7 @@ abstract class BaseBrowserFragment : Fragment(), BackHandler, SessionManager.Obs
|
|||||||
sessionManager = sessionManager,
|
sessionManager = sessionManager,
|
||||||
sessionId = customTabSessionId,
|
sessionId = customTabSessionId,
|
||||||
interceptLinkClicks = true,
|
interceptLinkClicks = true,
|
||||||
fragmentManager = requireFragmentManager()
|
fragmentManager = parentFragmentManager
|
||||||
),
|
),
|
||||||
owner = this,
|
owner = this,
|
||||||
view = view
|
view = view
|
||||||
@ -282,7 +282,7 @@ abstract class BaseBrowserFragment : Fragment(), BackHandler, SessionManager.Obs
|
|||||||
fragment = this,
|
fragment = this,
|
||||||
sessionManager = sessionManager,
|
sessionManager = sessionManager,
|
||||||
sessionId = customTabSessionId,
|
sessionId = customTabSessionId,
|
||||||
fragmentManager = requireFragmentManager(),
|
fragmentManager = parentFragmentManager,
|
||||||
onNeedToRequestPermissions = { permissions ->
|
onNeedToRequestPermissions = { permissions ->
|
||||||
requestPermissions(permissions, REQUEST_CODE_PROMPT_PERMISSIONS)
|
requestPermissions(permissions, REQUEST_CODE_PROMPT_PERMISSIONS)
|
||||||
}),
|
}),
|
||||||
@ -308,7 +308,7 @@ abstract class BaseBrowserFragment : Fragment(), BackHandler, SessionManager.Obs
|
|||||||
feature = SitePermissionsFeature(
|
feature = SitePermissionsFeature(
|
||||||
context = context,
|
context = context,
|
||||||
sessionManager = sessionManager,
|
sessionManager = sessionManager,
|
||||||
fragmentManager = requireFragmentManager(),
|
fragmentManager = parentFragmentManager,
|
||||||
promptsStyling = SitePermissionsFeature.PromptsStyling(
|
promptsStyling = SitePermissionsFeature.PromptsStyling(
|
||||||
gravity = getAppropriateLayoutGravity(),
|
gravity = getAppropriateLayoutGravity(),
|
||||||
shouldWidthMatchParent = true,
|
shouldWidthMatchParent = true,
|
||||||
|
@ -94,7 +94,7 @@ class BookmarkFragment : LibraryPageFragment<BookmarkNode>(), BackHandler, Accou
|
|||||||
bookmarkView = BookmarkView(view.bookmarkLayout, bookmarkInteractor)
|
bookmarkView = BookmarkView(view.bookmarkLayout, bookmarkInteractor)
|
||||||
signInView = SignInView(view.bookmarkLayout, bookmarkInteractor)
|
signInView = SignInView(view.bookmarkLayout, bookmarkInteractor)
|
||||||
|
|
||||||
viewLifecycleOwner.lifecycle.addObserver(
|
lifecycle.addObserver(
|
||||||
BookmarkDeselectNavigationListener(
|
BookmarkDeselectNavigationListener(
|
||||||
findNavController(),
|
findNavController(),
|
||||||
sharedViewModel,
|
sharedViewModel,
|
||||||
|
@ -141,7 +141,7 @@ class SearchFragment : Fragment(), BackHandler {
|
|||||||
qrFeature.set(
|
qrFeature.set(
|
||||||
QrFeature(
|
QrFeature(
|
||||||
requireContext(),
|
requireContext(),
|
||||||
fragmentManager = requireFragmentManager(),
|
fragmentManager = parentFragmentManager,
|
||||||
onNeedToRequestPermissions = { permissions ->
|
onNeedToRequestPermissions = { permissions ->
|
||||||
requestPermissions(permissions, REQUEST_CODE_CAMERA_PERMISSIONS)
|
requestPermissions(permissions, REQUEST_CODE_CAMERA_PERMISSIONS)
|
||||||
},
|
},
|
||||||
|
@ -40,7 +40,7 @@ class PairFragment : Fragment(), BackHandler {
|
|||||||
qrFeature.set(
|
qrFeature.set(
|
||||||
QrFeature(
|
QrFeature(
|
||||||
requireContext(),
|
requireContext(),
|
||||||
fragmentManager = requireFragmentManager(),
|
fragmentManager = parentFragmentManager,
|
||||||
onNeedToRequestPermissions = { permissions ->
|
onNeedToRequestPermissions = { permissions ->
|
||||||
requestPermissions(permissions, REQUEST_CODE_CAMERA_PERMISSIONS)
|
requestPermissions(permissions, REQUEST_CODE_CAMERA_PERMISSIONS)
|
||||||
},
|
},
|
||||||
|
@ -25,7 +25,7 @@ object Versions {
|
|||||||
const val androidx_annotation = "1.1.0"
|
const val androidx_annotation = "1.1.0"
|
||||||
const val androidx_lifecycle = "2.2.0-alpha04"
|
const val androidx_lifecycle = "2.2.0-alpha04"
|
||||||
const val androidx_fragment = "1.2.0-alpha03"
|
const val androidx_fragment = "1.2.0-alpha03"
|
||||||
const val androidx_navigation = "2.2.0-alpha02"
|
const val androidx_navigation = "2.2.0-alpha03"
|
||||||
const val androidx_recyclerview = "1.1.0-beta04"
|
const val androidx_recyclerview = "1.1.0-beta04"
|
||||||
const val androidx_testing = "1.2.1-alpha02"
|
const val androidx_testing = "1.2.1-alpha02"
|
||||||
const val androidx_test_ext = "1.0.0"
|
const val androidx_test_ext = "1.0.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user