Skip to content

TagSpaces is an offline, open source, document manager with tagging support

added check for ios

Ilian Sapundshiev28ea78b10138
diff --git a/app/config.js b/app/config.js
index cd866796b..c784051ba 100644
--- a/app/config.js
+++ b/app/config.js
@@ -52,8 +52,8 @@ export default {
productEnterprise: 'https://www.tagspaces.org/products/enterprise/',
downloadURL: 'https://www.tagspaces.org/downloads/',
changelogURL: 'https://www.tagspaces.org/whatsnew/',
- imprintURL: 'https://www.tagspaces.org/about/imprint/',
- privacyURL: 'https://www.tagspaces.org/about/privacy/',
+ imprintURL: 'https://www.tagspaces.org/about/imprint/',
+ privacyURL: 'https://www.tagspaces.org/about/privacy/',
suggestFeature: 'https://trello.com/b/TGeG5bi9',
reportIssue: 'https://github.com/tagspaces/tagspaces/issues/',
helpTranslating: 'https://www.transifex.com/tagspaces/tagspaces/',
@@ -75,7 +75,8 @@ export default {
isElectron: (navigator.userAgent.toLowerCase().indexOf(' electron/') > -1),
isFirefox: (navigator.userAgent.toLowerCase().includes('firefox')), // typeof InstallTrigger !== 'undefined';
isWin: navigator.appVersion.includes('Win'),
- isMacLike: navigator.platform.match(/(Mac|iPhone|iPod|iPad)/i),
+ isMacLike: navigator.userAgent.match(/(Mac|iPhone|iPod|iPad)/i),
+ iOS: navigator.userAgent.match(/(iPad|iPhone|iPod)/i),
isWeb: (document.URL.startsWith('http') && !document.URL.startsWith('http://localhost:1212/')),
isCordovaiOS,
isCordovaAndroid,