Skip to content

Commit

Permalink
ChatNavBar [nfc]: Pass undefined instead of 'transparent'.
Browse files Browse the repository at this point in the history
This should be equivalent, and it'll help with a simplification
we're about to do.
  • Loading branch information
chrisbobbe committed Jan 30, 2021
1 parent c56f22a commit ef4a7d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/nav/ChatNavBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ export default function ChatNavBar(props: Props) {
? 'hsla(0, 0%, 50%, 0.25)'
: Color(backgroundColor).darken(0.1),
borderBottomWidth: 1,
backgroundColor,
backgroundColor:
backgroundColor === DEFAULT_TITLE_BACKGROUND_COLOR ? undefined : backgroundColor,
}}
>
<View
Expand Down

0 comments on commit ef4a7d3

Please sign in to comment.