mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 13:38:01 -05:00
[INJIMOB-2051] fix Vc background not getting rendered (#1627)
Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
4e5a46f1ff
commit
90fd3b8a85
@@ -147,7 +147,10 @@ export const getFieldName = (
|
||||
};
|
||||
|
||||
export const getBackgroundColour = (wellknown: any) => {
|
||||
return wellknown?.display[0]?.background_color ?? Theme.Colors.textValue;
|
||||
return {
|
||||
backgroundColor:
|
||||
wellknown?.display[0]?.background_color ?? Theme.Colors.textValue,
|
||||
};
|
||||
};
|
||||
|
||||
export const getBackgroundImage = (wellknown: any, defaultBackground: any) => {
|
||||
|
||||
Reference in New Issue
Block a user