Skip to content

Commit 17ed72d

Browse files
committed
fix: update GroupedInsetListCard styles
1 parent cd9caf3 commit 17ed72d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

apps/mobile/src/components/ui/grouped/GroupedList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export const GroupedInsetListCard: FC<
5858
{...props}
5959
style={[{ marginHorizontal: GROUPED_LIST_MARGIN }, props.style]}
6060
className={cn(
61-
"bg-secondary-system-grouped-background flex-1 overflow-hidden rounded-[10px]",
61+
"bg-secondary-system-grouped-background flex overflow-hidden rounded-[10px]",
6262
className,
6363
)}
6464
>
@@ -82,7 +82,7 @@ export const GroupedInsetListCard: FC<
8282
: NextSeparatorComponent
8383

8484
return (
85-
<Fragment key={index}>
85+
<Fragment key={typeof child === "object" && "key" in child ? child.key : index}>
8686
{child}
8787
{!isLast &&
8888
(NextSeparatorElement ?? (

apps/mobile/src/screens/(modal)/DiscoverSettingsScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const DiscoverSettingsScreen = () => {
2323
Header={<NavigationBlurEffectHeaderView title={t("discoverFilters.title")} />}
2424
>
2525
<GroupedInsetListSectionHeader label={t("discoverFilters.filters")} marginSize="small" />
26-
<GroupedInsetListCard>
26+
<GroupedInsetListCard className="flex-row">
2727
<GroupedInsetListCell label={t("discoverFilters.language")}>
2828
<View className="w-[100px]">
2929
<Select

0 commit comments

Comments
 (0)