Skip to content

Commit 8350898

Browse files
committed
feat: add enableCustomThemes support in userInfo function
- Updated userInfo function to include enableCustomThemes property from MetaObject.Namespace. - This enhancement allows for better customization options for user themes. This change improves the flexibility of user interface customization.
1 parent 4f545ee commit 8350898

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/imports/auth/info/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export async function userInfo(authTokenId?: string | null | undefined): Promise
3939
watermark: MetaObject.Namespace.watermark,
4040
addressComplementValidation: MetaObject.Namespace.addressComplementValidation,
4141
addressSource: MetaObject.Namespace.addressSource,
42+
enableCustomThemes: (MetaObject.Namespace as { enableCustomThemes?: boolean }).enableCustomThemes !== false,
4243
};
4344

4445
try {

0 commit comments

Comments
 (0)