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
replace status indicator view with an icon
ammarahm-edb10d4e366128
diff --git a/apps/mobile/src/components/Menu/UserSection.js b/apps/mobile/src/components/Menu/UserSection.jsindex f31118b64..a1e6fbfdf 100644--- a/apps/mobile/src/components/Menu/UserSection.js+++ b/apps/mobile/src/components/Menu/UserSection.js@@ -11,7 +11,7 @@ import Paragraph from '../Typography/Paragraph';import {TimeSince} from './TimeSince';export const UserSection = ({noTextMode}) => {- const [state, dispatch] = useTracked();+ const [state] = useTracked();const {colors, syncing, user, lastSynced} = state;return (@@ -41,17 +41,17 @@ export const UserSection = ({noTextMode}) => {style={{flexDirection: 'row',alignItems: 'center',- paddingVertical:10+ paddingVertical: 10,}}>- <View+ <Iconstyle={{- height: 8,- width: 8,- backgroundColor: !user ? colors.red : colors.green,- borderRadius: 100,marginRight: 5,}}+ name="checkbox-blank-circle"+ size={10}+ color={!user ? colors.red : colors.green}/>+<Heading size={SIZE.sm} color={colors.heading}>{!user ? 'Not Logged in' : 'Logged in'}</Heading>@@ -64,7 +64,7 @@ export const UserSection = ({noTextMode}) => {style={{flexDirection: 'row',alignItems: 'center',- paddingVertical:10+ paddingVertical: 10,}}><Paragraphstyle={{@@ -76,7 +76,10 @@ export const UserSection = ({noTextMode}) => {{!syncing ? (lastSynced && lastSynced !== 'Never' ? (- <TimeSince style={{fontSize: SIZE.xs}} time={lastSynced} />+ <TimeSince+ style={{fontSize: SIZE.xs, color: colors.icon}}+ time={lastSynced}+ />) : ('never')