Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: fix input padding in side menu on ios

Ammar Ahmed19ee33ec3a0a
diff --git a/apps/mobile/app/components/side-menu/side-menu-notebooks.tsx b/apps/mobile/app/components/side-menu/side-menu-notebooks.tsx
index dfcf62358..fc81655f3 100644
--- a/apps/mobile/app/components/side-menu/side-menu-notebooks.tsx
+++ b/apps/mobile/app/components/side-menu/side-menu-notebooks.tsx
@@ -162,17 +162,20 @@ export const SideMenuNotebooks = () => {
paddingHorizontal: DefaultAppStyles.GAP,
backgroundColor: colors.primary.background,
borderTopColor: colors.primary.border,
- borderTopWidth: 1
+ borderTopWidth: 1,
+ paddingVertical: DefaultAppStyles.GAP_VERTICAL
}}
>
<TextInput
placeholder="Filter notebooks..."
style={{
fontFamily: "Inter-Regular",
- fontSize: AppFontSize.xs
+ fontSize: AppFontSize.xs,
+ paddingTop: 0,
+ paddingBottom: 0
}}
cursorColor={colors.primary.accent}
- onChangeText={async (value) => {
+ onChangeText={async (value: string) => {
searchTimer.current && clearTimeout(searchTimer.current);
searchTimer.current = setTimeout(async () => {
lastQuery.current = value;
diff --git a/apps/mobile/app/components/side-menu/side-menu-tags.tsx b/apps/mobile/app/components/side-menu/side-menu-tags.tsx
index 809f4fab9..d491b598a 100644
--- a/apps/mobile/app/components/side-menu/side-menu-tags.tsx
+++ b/apps/mobile/app/components/side-menu/side-menu-tags.tsx
@@ -266,14 +266,17 @@ export const SideMenuTags = () => {
paddingHorizontal: DefaultAppStyles.GAP,
backgroundColor: colors.primary.background,
borderTopColor: colors.primary.border,
- borderTopWidth: 1
+ borderTopWidth: 1,
+ paddingVertical: DefaultAppStyles.GAP_VERTICAL
}}
>
<TextInput
placeholder="Filter tags..."
style={{
fontFamily: "Inter-Regular",
- fontSize: AppFontSize.xs
+ fontSize: AppFontSize.xs,
+ paddingTop: 0,
+ paddingBottom: 0
}}
cursorColor={colors.primary.accent}
onChangeText={async (value) => {
diff --git a/apps/mobile/native/ios/Podfile.lock b/apps/mobile/native/ios/Podfile.lock
index fa58432c6..a7396fc0b 100644
--- a/apps/mobile/native/ios/Podfile.lock
+++ b/apps/mobile/native/ios/Podfile.lock
@@ -2,7 +2,7 @@ PODS:
- Base64 (1.1.2)
- BEMCheckBox (1.4.1)
- boost (1.83.0)
- - callstack-repack (4.1.1):
+ - callstack-repack (5.0.0):
- DoubleConversion
- glog
- hermes-engine
@@ -1006,8 +1006,29 @@ PODS:
- React-Core
- react-native-notification-sounds (0.5.5):
- React
- - react-native-orientation (3.1.3):
- - React
+ - react-native-orientation-locker (1.7.0):
+ - React-Core
+ - react-native-pager-view (6.5.1):
+ - DoubleConversion
+ - glog
+ - hermes-engine
+ - RCT-Folly (= 2024.01.01.00)
+ - RCTRequired
+ - RCTTypeSafety
+ - React-Codegen
+ - React-Core
+ - React-debug
+ - React-Fabric
+ - React-featureflags
+ - React-graphics
+ - React-ImageManager
+ - React-NativeModulesApple
+ - React-RCTFabric
+ - React-rendererdebug
+ - React-utils
+ - ReactCommon/turbomodule/bridging
+ - ReactCommon/turbomodule/core
+ - Yoga
- react-native-pdf (6.6.2):
- React-Core
- react-native-quick-sqlite (8.0.6):
@@ -1522,7 +1543,8 @@ DEPENDENCIES:
- react-native-mmkv-storage (from `../../node_modules/react-native-mmkv-storage`)
- "react-native-netinfo (from `../../node_modules/@react-native-community/netinfo`)"
- react-native-notification-sounds (from `../../node_modules/react-native-notification-sounds`)
- - react-native-orientation (from `../../node_modules/react-native-orientation`)
+ - react-native-orientation-locker (from `../../node_modules/react-native-orientation-locker`)
+ - react-native-pager-view (from `../../node_modules/react-native-pager-view`)
- react-native-pdf (from `../../node_modules/react-native-pdf`)
- react-native-quick-sqlite (from `../../node_modules/react-native-quick-sqlite`)
- react-native-safe-area-context (from `../../node_modules/react-native-safe-area-context`)
@@ -1694,8 +1716,10 @@ EXTERNAL SOURCES:
:path: "../../node_modules/@react-native-community/netinfo"
react-native-notification-sounds:
:path: "../../node_modules/react-native-notification-sounds"
- react-native-orientation:
- :path: "../../node_modules/react-native-orientation"
+ react-native-orientation-locker:
+ :path: "../../node_modules/react-native-orientation-locker"
+ react-native-pager-view:
+ :path: "../../node_modules/react-native-pager-view"
react-native-pdf:
:path: "../../node_modules/react-native-pdf"
react-native-quick-sqlite:
@@ -1820,7 +1844,7 @@ SPEC CHECKSUMS:
Base64: cecfb41a004124895a7bcee567a89bae5a89d49b
BEMCheckBox: 5ba6e37ade3d3657b36caecc35c8b75c6c2b1a4e
boost: d3f49c53809116a5d38da093a8aa78bf551aed09
- callstack-repack: 721b034d0662f47388719bf26c00f838da6880d5
+ callstack-repack: 3f82e5f958e27d3911b6b29d991b280d15f71df1
DoubleConversion: 76ab83afb40bddeeee456813d9c04f67f78771b5
FBLazyVector: ac12dc084d1c8ec4cc4d7b3cf1b0ebda6dab85af
fmt: 4c2741a687cc09f0634a2e2c72a838b99f1ff120
@@ -1872,7 +1896,8 @@ SPEC CHECKSUMS:
react-native-mmkv-storage: 8dddc9d16248bc9a4d9566ac5c97c318692d299c
react-native-netinfo: 66c9ac0d0ae92a57a9ed99ab8a75429740700c73
react-native-notification-sounds: ce106d58df0dd384bccbd2e84fb53accab7cc068
- react-native-orientation: db2655b95b4123f17e75dcb04ee8b8b1294ce7ee
+ react-native-orientation-locker: cc6f357b289a2e0dd2210fea0c52cb8e0727fdaa
+ react-native-pager-view: f530c9533319e0355da3551ade81d471b5a04c44
react-native-pdf: da10473ae54555c373c62af671da8fe0eef846e2
react-native-quick-sqlite: 80b5b3405bfc92e97b6041d2c2a446800bea6ad7
react-native-safe-area-context: b72c4611af2e86d80a59ac76279043d8f75f454c