diff --git a/apps/common/mobile/lib/component/ThemeColorPalette.jsx b/apps/common/mobile/lib/component/ThemeColorPalette.jsx index 31eeb3d09..e16403d72 100644 --- a/apps/common/mobile/lib/component/ThemeColorPalette.jsx +++ b/apps/common/mobile/lib/component/ThemeColorPalette.jsx @@ -139,7 +139,7 @@ const CustomColorPicker = props => { if (props.autoColor) { currentColor = rgb2hex(props.autoColor); } - if (currentColor === 'transparent') { + if (currentColor === 'transparent' || !currentColor) { currentColor = 'ffffff'; } const countDynamicColors = props.countdynamiccolors || 10;