Skip to content

Commit

Permalink
🎨 #12038
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Oct 28, 2024
1 parent 5456d03 commit 1d0ccd1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/protyle/util/compatibility.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ export const openByMobile = (uri: string) => {
if (isInIOS()) {
if (uri.startsWith("assets/")) {
window.webkit.messageHandlers.openLink.postMessage(encodeURI(location.origin + "/" + uri));
} else if (uri.startsWith("/export/")) {
window.webkit.messageHandlers.openLink.postMessage(encodeURI(location.origin + uri));
} else {
try {
new URL(uri);
Expand Down

0 comments on commit 1d0ccd1

Please sign in to comment.