Skip to content

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

minor fixes

ammarahm-ed344d851d04be
diff --git a/apps/mobile/src/components/ActionSheetComponent/index.js b/apps/mobile/src/components/ActionSheetComponent/index.js
index 210d3282e..20a5d363a 100644
--- a/apps/mobile/src/components/ActionSheetComponent/index.js
+++ b/apps/mobile/src/components/ActionSheetComponent/index.js
@@ -289,6 +289,7 @@ export const ActionSheetComponent = ({
await db.notebooks.notebook(note.id).pin();
}
localRefresh(item.type);
+ close();
},
close: false,
check: true,
@@ -308,6 +309,7 @@ export const ActionSheetComponent = ({
dispatch({type: Actions.FAVORITES});
sendNoteEditedEvent(note.id, false, true);
localRefresh(item.type, true);
+ close();
},
close: false,
check: true,
diff --git a/apps/mobile/src/utils/DB.js b/apps/mobile/src/utils/DB.js
index 25976cdda..e7c75db60 100644
--- a/apps/mobile/src/utils/DB.js
+++ b/apps/mobile/src/utils/DB.js
@@ -13,7 +13,7 @@ export const db = new Database(
//"https://api.notesnook.com"
db.host({
- API_HOST: 'http://192.168.10.10:5264',
- AUTH_HOST: 'http://192.168.10.10:8264',
- SSE_HOST: 'http://192.168.10.10:7264',
+ API_HOST: 'https://192.168.10.5:5264',
+ AUTH_HOST: 'https://192.168.10.5:8264',
+ SSE_HOST: 'https://192.168.10.5:7264',
});