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: cleanup
Ammar Ahmedf0ef9e072ecc
diff --git a/apps/mobile/app/components/properties/color-tags.tsx b/apps/mobile/app/components/properties/color-tags.tsxindex d26b87ef1..e7c1ce0e0 100644--- a/apps/mobile/app/components/properties/color-tags.tsx+++ b/apps/mobile/app/components/properties/color-tags.tsx@@ -51,15 +51,7 @@ const ColorItem = ({ item, note }: { item: Color; note: Note }) => {}, [item, note.id]);const toggleColor = async () => {- await db.relations- .to(- {- type: "note",- id: note.id- },- "color"- )- .unlink();+ await db.relations.to(note, "color").unlink();if (!isLinked) {await db.relations.add(item, note);