{
+ setToastMessage('');
+ setOpenToast(false);
+ },
+ open: openToast,
+ }}
+ >
+ className={'bg-note-header py-2 px-5 flex items-center justify-between gap-5 h-[44px] w-full'}
+ >
{renderHeader()}
{
handleUpdateNodeData(currentNote.id, data);
- }}/>
+ }}
+ />
> : {
};
};
-export function openOnly(schema?: string) {
+export function openOnly (schema?: string) {
return openAppOrDownload({
appScheme: schema || openAppFlowySchema,
});
}
-export function openOrDownload(schema?: string) {
+export function openOrDownload (schema?: string) {
const os = getOS();
-
- const downloadUrl = os === 'ios' ? iosDownloadLink : os === 'android' ? androidDownloadLink : desktopDownloadLink;
+
+ if (os === 'ios' || os === 'android') {
+ const universalLink = 'https://appflowy.io/download';
+ const intentUrl = `intent://appflowy.io/download#Intent;` +
+ 'scheme=https;' +
+ 'package=io.appflowy.app;' +
+ `S.browser_fallback_url=${encodeURIComponent(androidDownloadLink)};` +
+ 'end';
+
+ window.location.href = os === 'ios' ? universalLink : intentUrl;
+ return;
+ }
return openAppOrDownload({
appScheme: schema || openAppFlowySchema,
- downloadUrl,
+ downloadUrl: desktopDownloadLink,
});
}
\ No newline at end of file
diff --git a/frontend/resources/translations/en.json b/frontend/resources/translations/en.json
index ef8078a2a8..bec922f153 100644
--- a/frontend/resources/translations/en.json
+++ b/frontend/resources/translations/en.json
@@ -2962,16 +2962,16 @@
"emails": "Email"
},
"quickNote": {
- "label": "Quick note",
- "quickNotes": "Quick notes",
- "search": "Search quick notes",
+ "label": "Quick Note",
+ "quickNotes": "Quick Notes",
+ "search": "Search Quick Notes",
"collapseFullView": "Collapse full view",
"expandFullView": "Expand full view",
- "createFailed": "Failed to create quick note",
- "quickNotesEmpty": "No quick notes",
+ "createFailed": "Failed to create Quick Note",
+ "quickNotesEmpty": "No Quick Notes",
"emptyNote": "Empty note",
"deleteNotePrompt": "The selected note will be deleted permanently. Are you sure you want to delete it?",
- "addNote": "New note",
+ "addNote": "New Note",
"noAdditionalText": "No additional text"
},
"subscribe": {