Skip to content
Snippets Groups Projects
Unverified Commit 3e07d18a authored by Neil's avatar Neil Committed by GitHub
Browse files

Update ModeButton.tsx (#3257)

* Update ModeButton.tsx

* Update upcoming-release-notes

* Update 3257.md

* Update ModeButton.tsx
parent fa6cc264
No related branches found
No related tags found
No related merge requests found
...@@ -27,6 +27,7 @@ export function ModeButton({ ...@@ -27,6 +27,7 @@ export function ModeButton({
backgroundColor: theme.menuBackground, backgroundColor: theme.menuBackground,
marginRight: 5, marginRight: 5,
fontSize: 'inherit', fontSize: 'inherit',
...style,
...(selected && { ...(selected && {
backgroundColor: theme.buttonPrimaryBackground, backgroundColor: theme.buttonPrimaryBackground,
color: theme.buttonPrimaryText, color: theme.buttonPrimaryText,
...@@ -35,7 +36,6 @@ export function ModeButton({ ...@@ -35,7 +36,6 @@ export function ModeButton({
color: theme.buttonPrimaryTextHover, color: theme.buttonPrimaryTextHover,
}, },
}), }),
...style,
}), }),
)} )}
onPress={onSelect} onPress={onSelect}
......
---
category: Bugfix
authors: [carkom]
---
Fix regression in button color for spending graph.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment