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
improve ui
ammarahm-ed3d2755146032
diff --git a/apps/mobile/src/components/Container/index.js b/apps/mobile/src/components/Container/index.jsindex 671a33d3d..ff10c0580 100644--- a/apps/mobile/src/components/Container/index.js+++ b/apps/mobile/src/components/Container/index.js@@ -12,6 +12,7 @@ import * as Animatable from 'react-native-animatable';import Icon from 'react-native-vector-icons/Feather';import {br, opacity, pv, SIZE, WEIGHT} from '../../common/common';import {useTracked} from '../../provider';+import {getElevation, w} from '../../utils/utils';export const AnimatedSafeAreaView = Animatable.createAnimatableComponent(SafeAreaView,);@@ -71,13 +72,17 @@ export const Container = ({onPress={bottomButtonOnPress}activeOpacity={opacity}style={{+ ...getElevation(5),width: '95%',alignSelf: 'center',borderRadius: br,backgroundColor: colors.accent,justifyContent: 'center',alignItems: 'center',- marginBottom: 20,+ marginBottom: 0,+ position: 'absolute',+ zIndex: 10,+ bottom: 10,}}><Viewstyle={{@@ -88,7 +93,7 @@ export const Container = ({padding: pv,paddingVertical: pv + 5,}}>- <Icon name="plus" color="white" size={SIZE.lg} />+ <Icon name="plus" color="white" size={SIZE.xl} /><Textstyle={{fontSize: SIZE.md,diff --git a/apps/mobile/src/components/SearchInput/index.js b/apps/mobile/src/components/SearchInput/index.jsindex a22fa768d..82dc54a2e 100644--- a/apps/mobile/src/components/SearchInput/index.js+++ b/apps/mobile/src/components/SearchInput/index.js@@ -1,7 +1,7 @@import React, {createRef, useState} from 'react';import {TextInput} from 'react-native';import * as Animatable from 'react-native-animatable';-import Icon from 'react-native-vector-icons/Ionicons';+import Icon from 'react-native-vector-icons/Feather';import {DDS} from '../../../App';import {br, SIZE, WEIGHT} from '../../common/common';import {useTracked} from '../../provider';@@ -30,7 +30,7 @@ export const Search = props => {flexDirection: 'row',justifyContent: 'space-between',alignItems: 'center',- paddingHorizontal: 12,+ paddingLeft: 12,width: w - 24,alignSelf: 'center',borderRadius: br,@@ -43,9 +43,8 @@ export const Search = props => {style={{fontFamily: WEIGHT.regular,color: colors.pri,- maxWidth: '90%',-- width: '90%',+ maxWidth: '85%',+ width: '85%',fontSize: SIZE.md,}}onChangeText={props.onChangeText}@@ -63,7 +62,7 @@ export const Search = props => {placeholderTextColor={colors.icon}/><Icon- style={{paddingRight: DDS.isTab ? '1.25%' : '2.5%'}}+ style={{paddingRight: DDS.isTab ? 12 : 12}}onPress={() => {props.clear();props.value.length > 0 ? props.clearSearch() : null;@@ -71,9 +70,7 @@ export const Search = props => {text: '',});}}- name={- props.value && props.value.length > 0 ? 'ios-close' : 'ios-search'- }+ name={props.value && props.value.length > 0 ? '' : 'search'}color={focus ? colors.accent : colors.icon}size={SIZE.xl}/>