Skip to content

Commit

Permalink
fix settings StatusIcon shadows on android (#4104)
Browse files Browse the repository at this point in the history
* fix StatusIcon shadows on android

* fix StatusIcon shadows on android
  • Loading branch information
benisgold authored and nickbytes committed Aug 31, 2022
1 parent 7d59add commit 879b909
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/settings-menu/components/MenuItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,15 @@ const StatusIcon = ({ status }: StatusIconProps) => {
backgroundColor={statusColors[status]}
color={statusColors[status]}
colors={colors}
borderRadius={status !== 'warning' ? 6 : undefined}
fillColor={colors.white}
shadowColor={isDarkMode ? colors.shadow : statusColors[status]}
shadowOffset={{
height: 4,
width: 0,
}}
shadowOpacity={0.4}
elevation={12}
shadowOpacity={ios ? 0.4 : 1}
shadowRadius={6}
/>
);
Expand Down

0 comments on commit 879b909

Please sign in to comment.