Skip to content

Commit

Permalink
chore: update background color configs for platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
enesozturk committed Mar 3, 2021
1 parent c4c386b commit 0391747
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/menu/MenuItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const MenuItemComponent = ({ item, isLast, theme }: MenuItemComponentProps) => {
>
{item.text}
</Text>
{!item.withSeperator && !item.isTitle && item.icon && item.icon()}
{!item.isTitle && item.icon && item.icon()}
</AnimatedTouchable>
{item.withSeperator && <Seperator theme={theme} />}
</>
Expand Down
8 changes: 6 additions & 2 deletions src/components/menu/MenuList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,12 @@ const MenuListComponent = () => {
return {
backgroundColor:
theme.value === 'light'
? 'rgba(255, 255, 255, .75)'
: 'rgba(0,0,0,0.5)',
? IS_IOS
? 'rgba(255, 255, 255, .75)'
: 'rgba(255, 255, 255, .95)'
: IS_IOS
? 'rgba(0,0,0,0.5)'
: 'rgba(39, 39, 39, .8)',
};
}, [theme]);

Expand Down

0 comments on commit 0391747

Please sign in to comment.