Skip to content

Commit

Permalink
added border to the teams dropdown in dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
desperado1802 committed Dec 1, 2023
1 parent ee7cabe commit 381796d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions apps/mobile/app/components/TeamDropdown/DropDownSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,18 @@ const DropDownSection: FC<Props> = observer(function DropDownSection({

const others = teams.filter((t) => t.id !== activeTeamId);

const { colors } = useAppTheme();
const { colors, dark } = useAppTheme();
return (
<View
style={[styles.mainContainer, { backgroundColor: colors.background, shadowColor: 'rgba(0, 0, 0, 0.12)' }]}
style={[
styles.mainContainer,
{
backgroundColor: colors.background,
shadowColor: 'rgba(0, 0, 0, 0.12)',
borderWidth: dark ? 1 : 0,
borderColor: colors.border
}
]}
>
{/* <View style={styles.indDropDown}>
<View style={{ flexDirection: "row", alignItems: "center" }}>
Expand Down

0 comments on commit 381796d

Please sign in to comment.