RN-283 Properly render uppercase theme colours (#849)
This commit is contained in:
parent
d88f59bc6b
commit
321a2bf576
1 changed files with 5 additions and 0 deletions
|
|
@ -45,6 +45,11 @@ export const getTheme = createSelector(
|
|||
|
||||
// At this point, the theme should be a plain object
|
||||
|
||||
// Fix a case where upper case theme colours are rendered as black
|
||||
for (const key of Object.keys(theme)) {
|
||||
theme[key] = theme[key].toLowerCase();
|
||||
}
|
||||
|
||||
return theme;
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue