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: add test ids
ammarahm-edd7a126ab859d
diff --git a/apps/mobile/app/components/sheets/topic-sheet/index.tsx b/apps/mobile/app/components/sheets/topic-sheet/index.tsxindex e640c5e6a..2e70395a1 100644--- a/apps/mobile/app/components/sheets/topic-sheet/index.tsx+++ b/apps/mobile/app/components/sheets/topic-sheet/index.tsx@@ -238,6 +238,7 @@ export const TopicsSheet = () => {<Viewstyle={{maxHeight: 600,+ height: 600,width: "100%"}}>@@ -294,6 +295,7 @@ export const TopicsSheet = () => {<IconButtonname="plus"onPress={PLACEHOLDER_DATA.action}+ testID="add-topic-button"color={colors.pri}size={22}customStyle={{@@ -355,7 +357,7 @@ const SelectionContext = createContext<{});const useSelection = () => useContext(SelectionContext);-const TopicItem = ({ item }: { item: TopicType; index: number }) => {+const TopicItem = ({ item, index }: { item: TopicType; index: number }) => {const screen = useNavigationStore((state) => state.currentScreen);const colors = useThemeStore((state) => state.colors);const selection = useSelection();@@ -372,6 +374,7 @@ const TopicItem = ({ item }: { item: TopicType; index: number }) => {selection.setEnabled(true);selection.toggleSelection(item);}}+ testID={`topic-sheet-item-${index}`}onPress={() => {if (selection.enabled) {selection.toggleSelection(item);