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
imporve input
ammarahm-ed384d3a7820dd
diff --git a/apps/mobile/src/components/Input/index.js b/apps/mobile/src/components/Input/index.jsindex 7dccd42af..ed516977e 100644--- a/apps/mobile/src/components/Input/index.js+++ b/apps/mobile/src/components/Input/index.js@@ -40,7 +40,10 @@ const Input = ({returnKeyType,returnKeyLabel,autoCompleteType,- onFocusInput+ onFocusInput,+ buttons,+ marginRight,+ autoCorrect=true}) => {const [state] = useTracked();const colors = state.colors;@@ -136,8 +139,9 @@ const Input = ({justifyContent: 'space-between',alignItems: 'center',flexGrow: 1,- height: 50,- paddingHorizontal: 12+ height: height || 50,+ paddingHorizontal: 12,+ paddingRight:buttons || button || secureTextEntry || error ? 6 : 12};const textStyle = {@@ -147,7 +151,7 @@ const Input = ({paddingVertical: 0,paddingBottom: 2.5,flexGrow: 1,- height: 50,+ height: height || 50,fontFamily:"OpenSans-Regular"};@@ -159,7 +163,8 @@ const Input = ({height: height,marginBottom: marginBottom,flexGrow: 1,- maxHeight: height+ maxHeight: height,+ marginRight:marginRight}}><TouchableOpacitydisabled={!loading}@@ -173,6 +178,7 @@ const Input = ({defaultValue={defaultValue}autoCapitalize={autoCapitalize}onChangeText={onChange}+ autoCorrect={autoCorrect}onBlur={onBlur}keyboardType={validationType === 'email' ? 'email-address' : 'default'@@ -196,7 +202,7 @@ const Input = ({style={{flexDirection: 'row',justifyContent: 'center',- height: 35,+ height: 35 > height ? height : 35,alignItems: 'center'}}>{secureTextEntry && (@@ -217,6 +223,8 @@ const Input = ({/>)}+ {buttons}+{button && (<ActionIconname={button.icon}