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: fix search bar position on ios
Ammar Ahmed96558c5df5e6
diff --git a/apps/mobile/app/screens/search/search-bar.tsx b/apps/mobile/app/screens/search/search-bar.tsxindex ae437c057..38390921b 100644--- a/apps/mobile/app/screens/search/search-bar.tsx+++ b/apps/mobile/app/screens/search/search-bar.tsx@@ -19,7 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.import { useThemeColors } from "@notesnook/theme";import React, { useRef } from "react";-import { View } from "react-native";+import { Platform, View } from "react-native";import { TextInput } from "react-native-gesture-handler";import { IconButton } from "../../components/ui/icon-button";import Navigation from "../../services/navigation";@@ -49,8 +49,8 @@ export const SearchBar = ({return selectionMode && isFocused ? null : (<Viewstyle={{- height: 50 + insets.top,- paddingTop: insets.top,+ height: Platform.OS === "android" ? 50 + insets.top : 50,+ paddingTop: Platform.OS === "ios" ? 0 : insets.top,flexDirection: "row",alignItems: "center",flexShrink: 1,