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(
|
||||
feature = ContextMenuFeature(
|
||||
fragmentManager = requireFragmentManager(),
|
||||
fragmentManager = parentFragmentManager,
|
||||
store = store,
|
||||
candidates = FenixContextMenuCandidate.defaultCandidates(
|
||||
context,
|
||||
@ -271,7 +271,7 @@ abstract class BaseBrowserFragment : Fragment(), BackHandler, SessionManager.Obs
|
||||
sessionManager = sessionManager,
|
||||
sessionId = customTabSessionId,
|
||||
interceptLinkClicks = true,
|
||||
fragmentManager = requireFragmentManager()
|
||||
fragmentManager = parentFragmentManager
|
||||
),
|
||||
owner = this,
|
||||
view = view
|
||||
@ -282,7 +282,7 @@ abstract class BaseBrowserFragment : Fragment(), BackHandler, SessionManager.Obs
|
||||
fragment = this,
|
||||
sessionManager = sessionManager,
|
||||
sessionId = customTabSessionId,
|
||||
fragmentManager = requireFragmentManager(),
|
||||
fragmentManager = parentFragmentManager,
|
||||
onNeedToRequestPermissions = { permissions ->
|
||||
requestPermissions(permissions, REQUEST_CODE_PROMPT_PERMISSIONS)
|
||||
}),
|
||||
@ -308,7 +308,7 @@ abstract class BaseBrowserFragment : Fragment(), BackHandler, SessionManager.Obs
|
||||
feature = SitePermissionsFeature(
|
||||
context = context,
|
||||
sessionManager = sessionManager,
|
||||
fragmentManager = requireFragmentManager(),
|
||||
fragmentManager = parentFragmentManager,
|
||||
promptsStyling = SitePermissionsFeature.PromptsStyling(
|
||||
gravity = getAppropriateLayoutGravity(),
|
||||
shouldWidthMatchParent = true,
|
||||
|
@ -94,7 +94,7 @@ class BookmarkFragment : LibraryPageFragment<BookmarkNode>(), BackHandler, Accou
|
||||
bookmarkView = BookmarkView(view.bookmarkLayout, bookmarkInteractor)
|
||||
signInView = SignInView(view.bookmarkLayout, bookmarkInteractor)
|
||||
|
||||
viewLifecycleOwner.lifecycle.addObserver(
|
||||
lifecycle.addObserver(
|
||||
BookmarkDeselectNavigationListener(
|
||||
findNavController(),
|
||||
sharedViewModel,
|
||||
|
@ -141,7 +141,7 @@ class SearchFragment : Fragment(), BackHandler {
|
||||
qrFeature.set(
|
||||
QrFeature(
|
||||
requireContext(),
|
||||
fragmentManager = requireFragmentManager(),
|
||||
fragmentManager = parentFragmentManager,
|
||||
onNeedToRequestPermissions = { permissions ->
|
||||
requestPermissions(permissions, REQUEST_CODE_CAMERA_PERMISSIONS)
|
||||
},
|
||||
|
@ -40,7 +40,7 @@ class PairFragment : Fragment(), BackHandler {
|
||||
qrFeature.set(
|
||||
QrFeature(
|
||||
requireContext(),
|
||||
fragmentManager = requireFragmentManager(),
|
||||
fragmentManager = parentFragmentManager,
|
||||
onNeedToRequestPermissions = { permissions ->
|
||||
requestPermissions(permissions, REQUEST_CODE_CAMERA_PERMISSIONS)
|
||||
},
|
||||
|
@ -25,7 +25,7 @@ object Versions {
|
||||
const val androidx_annotation = "1.1.0"
|
||||
const val androidx_lifecycle = "2.2.0-alpha04"
|
||||
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_testing = "1.2.1-alpha02"
|
||||
const val androidx_test_ext = "1.0.0"
|
||||
|
Loading…
Reference in New Issue
Block a user