tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 89f3915515e59b0e38a040e983fdf95e8c4f8e22
parent 522997110c22d526113bccc3bd7db6b008be2907
Author: t-p-white <towhite@mozilla.com>
Date:   Mon, 22 Dec 2025 09:28:09 +0000

Bug 2007129 - Updated the `MarketingDataOnboardingPageRedesign` image to be centered. r=android-reviewers,joberhauser

**Note**: The experiment icon (shown in the Current patch) is not displaying the correct icon - looking into this separately.

| Current | Patch
| {F50501996} | {F50502106} {F50502107}|

Differential Revision: https://phabricator.services.mozilla.com/D277198

Diffstat:
Mmobile/android/fenix/app/src/main/java/org/mozilla/fenix/onboarding/redesign/view/MarketingDataOnboardingPageRedesign.kt | 16+++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/onboarding/redesign/view/MarketingDataOnboardingPageRedesign.kt b/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/onboarding/redesign/view/MarketingDataOnboardingPageRedesign.kt @@ -10,6 +10,7 @@ import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer +import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.offset import androidx.compose.foundation.layout.padding @@ -90,11 +91,16 @@ fun MarketingDataOnboardingPageRedesign( style = MaterialTheme.typography.headlineSmall, ) - Image( - modifier = Modifier.height(CONTENT_IMAGE_HEIGHT), - painter = painterResource(id = state.imageRes), - contentDescription = null, - ) + Row( + modifier = Modifier.fillMaxWidth(), + horizontalArrangement = Arrangement.Center, + ) { + Image( + modifier = Modifier.height(CONTENT_IMAGE_HEIGHT), + painter = painterResource(id = state.imageRes), + contentDescription = null, + ) + } state.marketingData?.let { MarketingDataView(