commit ee634e9fc607a6dbf09d4da4f5d65a331a3bb86f
parent d0be97b528636836e4d9b1b9250cf085de751e85
Author: Cathy Lu <calu@mozilla.com>
Date: Tue, 28 Oct 2025 20:49:58 +0000
Bug 1996415 - Fix radio button from ListItem for crash report setting r=android-reviewers,jdelorenzo
Differential Revision: https://phabricator.services.mozilla.com/D270240
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/compose/list/ListItem.kt b/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/compose/list/ListItem.kt
@@ -455,7 +455,7 @@ fun RadioButtonListItem(
maxDescriptionLines = maxDescriptionLines,
enabled = enabled,
onClick = onClick,
- beforeListItemAction = if (showButtonAfter) radioButton else EmptyListItemSlot,
+ beforeListItemAction = if (showButtonAfter) EmptyListItemSlot else radioButton,
afterListItemAction = if (showButtonAfter) radioButton else EmptyListItemSlot,
)
}