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: improve tab button
Ammar Ahmed9208140b979e
diff --git a/apps/mobile/app/components/sheets/editor-tabs/index.tsx b/apps/mobile/app/components/sheets/editor-tabs/index.tsxindex ec2b63034..cfd740b04 100644--- a/apps/mobile/app/components/sheets/editor-tabs/index.tsx+++ b/apps/mobile/app/components/sheets/editor-tabs/index.tsx@@ -181,6 +181,7 @@ export default function EditorTabs({}: {close?: (ctx?: string | undefined) => void;}) {+ const { colors } = useThemeColors();const [tabs, currentTab] = useTabStore((state) => [state.tabs,state.currentTab@@ -217,20 +218,13 @@ export default function EditorTabs({}}><Heading size={SIZE.lg}>{strings.tabs()}</Heading>- <Button+ <IconButtononPress={() => {useTabStore.getState().newTab();close?.();}}- title={strings.newTab()}- icon="plus"- style={{- flexDirection: "row",- justifyContent: "flex-start",- borderRadius: 100,- height: 35- }}- iconSize={SIZE.lg}+ name="plus"+ color={colors.primary.accent}/></View>