A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
mobile: fix icon colors not rendering correctly
Ammar Ahmed1d3e2b56b29a
diff --git a/apps/mobile/app/components/sheets/editor-tabs/index.tsx b/apps/mobile/app/components/sheets/editor-tabs/index.tsxindex 830c95be5..f16e05dc3 100644--- a/apps/mobile/app/components/sheets/editor-tabs/index.tsx+++ b/apps/mobile/app/components/sheets/editor-tabs/index.tsx@@ -102,9 +102,17 @@ const TabItemComponent = (props: {{props.tab.session?.noteLocked ? (<>{props.tab.session?.locked ? (- <Icon size={AppFontSize.md} name="lock" />+ <Icon+ size={AppFontSize.md}+ name="lock"+ color={colors.primary.icon}+ />) : (- <Icon size={AppFontSize.md} name="lock-open-outline" />+ <Icon+ size={AppFontSize.md}+ name="lock-open-outline"+ color={colors.primary.icon}+ />)}</>) : null}diff --git a/apps/mobile/app/components/ui/icon-button/index.tsx b/apps/mobile/app/components/ui/icon-button/index.tsxindex f3a605fd3..b73280e26 100644--- a/apps/mobile/app/components/ui/icon-button/index.tsx+++ b/apps/mobile/app/components/ui/icon-button/index.tsx@@ -107,7 +107,7 @@ export const IconButton = ({color={restProps.disabled? RGB_Linear_Shade(-0.05, hexToRGBA(colors.secondary.background))- : colors.static[color as never] || color+ : colors.static[color as never] || color || colors.primary.icon}size={size}/>