|
|
@ -371,11 +371,6 @@ abstract class BaseBrowserFragment : Fragment(), UserInteractionHandler, Session
|
|
|
|
view = view
|
|
|
|
view = view
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
val shouldForwardToThirdParties =
|
|
|
|
|
|
|
|
PreferenceManager.getDefaultSharedPreferences(context).getBoolean(
|
|
|
|
|
|
|
|
context.getPreferenceKey(R.string.pref_key_external_download_manager), false
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
val downloadFeature = DownloadsFeature(
|
|
|
|
val downloadFeature = DownloadsFeature(
|
|
|
|
context.applicationContext,
|
|
|
|
context.applicationContext,
|
|
|
|
store = store,
|
|
|
|
store = store,
|
|
|
@ -387,7 +382,11 @@ abstract class BaseBrowserFragment : Fragment(), UserInteractionHandler, Session
|
|
|
|
store,
|
|
|
|
store,
|
|
|
|
DownloadService::class
|
|
|
|
DownloadService::class
|
|
|
|
),
|
|
|
|
),
|
|
|
|
shouldForwardToThirdParties = { shouldForwardToThirdParties },
|
|
|
|
shouldForwardToThirdParties = {
|
|
|
|
|
|
|
|
PreferenceManager.getDefaultSharedPreferences(context).getBoolean(
|
|
|
|
|
|
|
|
context.getPreferenceKey(R.string.pref_key_external_download_manager), false
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
},
|
|
|
|
promptsStyling = DownloadsFeature.PromptsStyling(
|
|
|
|
promptsStyling = DownloadsFeature.PromptsStyling(
|
|
|
|
gravity = Gravity.BOTTOM,
|
|
|
|
gravity = Gravity.BOTTOM,
|
|
|
|
shouldWidthMatchParent = true,
|
|
|
|
shouldWidthMatchParent = true,
|
|
|
|