commit 9cabd6e68760bf66ea4fcf3e93083c5d76c04114
parent 8a253b5cf8a6b6d4c57340893a0cc84fea5306ee
Author: mcarare <48995920+mcarare@users.noreply.github.com>
Date: Wed, 1 Oct 2025 14:18:13 +0000
Bug 1991878 - Update downloads dialog styling. r=android-reviewers,giorga
Differential Revision: https://phabricator.services.mozilla.com/D266994
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/mobile/android/focus-android/app/src/main/java/org/mozilla/focus/fragment/BrowserFragment.kt b/mobile/android/focus-android/app/src/main/java/org/mozilla/focus/fragment/BrowserFragment.kt
@@ -412,6 +412,11 @@ class BrowserFragment :
components.store,
components.downloadsUseCases,
fragmentManager = childFragmentManager,
+ promptsStyling = DownloadsFeature.PromptsStyling(
+ gravity = Gravity.CENTER,
+ positiveButtonBackgroundColor = R.color.contrastColor,
+ positiveButtonTextColor = R.color.colorPrimary,
+ ),
tabId = tabId,
downloadManager = FetchDownloadManager(
requireContext().applicationContext,