Skip to content

Commit 4476095

Browse files
committed
feat: update merge function
Signed-off-by: Gaurav Goel <gaurav@tor.us>
1 parent b80bd8c commit 4476095

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Assets/Plugins/Web3AuthSDK/Api/WhiteLabelDataExtensions.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ public static WhiteLabelData merge(this WhiteLabelData target, WhiteLabelData ot
1111

1212
return new WhiteLabelData
1313
{
14-
appName = other.appName ?? target.appName,
15-
appUrl = other.appUrl ?? target.appUrl,
16-
logoLight = other.logoLight ?? target.logoLight,
17-
logoDark = other.logoDark ?? target.logoDark,
18-
defaultLanguage = other.defaultLanguage ?? target.defaultLanguage,
19-
mode = other.mode ?? target.mode,
20-
useLogoLoader = other.useLogoLoader ?? target.useLogoLoader,
14+
appName = target.appName ?? other.appName,
15+
appUrl = target.appUrl ?? other.appUrl,
16+
logoLight = target.logoLight ?? other.logoLight,
17+
logoDark = target.logoDark ?? other.logoDark,
18+
defaultLanguage = target.defaultLanguage ?? other.defaultLanguage,
19+
mode = target.mode ?? other.mode,
20+
useLogoLoader = target.useLogoLoader ?? other.useLogoLoader,
2121
theme = mergeThemes(target.theme, other.theme)
2222
};
2323
}

0 commit comments

Comments
 (0)