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: use fixed numColumns value
ammarahm-ed9d7c2bbe1516
diff --git a/apps/mobile/app/components/properties/items.js b/apps/mobile/app/components/properties/items.jsindex 2024aef46..9f3cd4847 100644--- a/apps/mobile/app/components/properties/items.js+++ b/apps/mobile/app/components/properties/items.js@@ -21,7 +21,6 @@ import React from "react";import { View } from "react-native";import { FlatList } from "react-native-gesture-handler";import Icon from "react-native-vector-icons/MaterialCommunityIcons";-import { getRandomId } from "../../common/filesystem/utils";import { useActions } from "../../hooks/use-actions";import { DDS } from "../../services/device-detection";import { useSettingStore } from "../../stores/use-setting-store";@@ -112,9 +111,8 @@ export const Items = ({ item, buttons, close }) => {return item.type === "note" ? (<FlatListdata={data}- key={`note_prop_list_${buttons.length}`}keyExtractor={(item) => item.title}- numColumns={buttons.length < 5 ? buttons.length : columnItemsCount}+ numColumns={columnItemsCount}style={{marginTop: item.type !== "note" ? 10 : 0,paddingTop: 10