Skip to content

Commit 5656610

Browse files
committed
Bug 1998466 - Remove Translations Beta Label from Android r=translations-reviewers,android-reviewers,ohall
This patch removes the "BETA" label from the full-page Translations Android UI. Differential Revision: https://phabricator.services.mozilla.com/D271427 UltraBlame original commit: 8875486e6acd69759f2c3351d6f43df5c75cb119
1 parent 5a55cb0 commit 5656610

File tree

1 file changed

+18
-25
lines changed

1 file changed

+18
-25
lines changed

mobile/android/fenix/app/src/main/java/org/mozilla/fenix/translations/TranslationsDialogBottomSheet.kt

Lines changed: 18 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -463,16 +463,6 @@ fenix
463463
.
464464
compose
465465
.
466-
BetaLabel
467-
import
468-
org
469-
.
470-
mozilla
471-
.
472-
fenix
473-
.
474-
compose
475-
.
476466
InfoCard
477467
import
478468
org
@@ -2480,6 +2470,11 @@ onSettingClicked
24802470
Unit
24812471
)
24822472
{
2473+
if
2474+
(
2475+
showPageSettings
2476+
)
2477+
{
24832478
Row
24842479
(
24852480
modifier
@@ -2493,20 +2488,7 @@ horizontalArrangement
24932488
=
24942489
Arrangement
24952490
.
2496-
SpaceBetween
2497-
)
2498-
{
2499-
Column
2500-
{
2501-
BetaLabel
2502-
(
2503-
)
2504-
}
2505-
Column
2506-
{
2507-
if
2508-
(
2509-
showPageSettings
2491+
End
25102492
)
25112493
{
25122494
IconButton
@@ -2567,7 +2549,6 @@ iconPrimary
25672549
}
25682550
}
25692551
}
2570-
}
25712552
Row
25722553
(
25732554
verticalAlignment
@@ -2583,9 +2564,21 @@ padding
25832564
(
25842565
top
25852566
=
2567+
if
2568+
(
2569+
showPageSettings
2570+
)
2571+
{
25862572
12
25872573
.
25882574
dp
2575+
}
2576+
else
2577+
{
2578+
0
2579+
.
2580+
dp
2581+
}
25892582
)
25902583
)
25912584
{

0 commit comments

Comments
 (0)