diff --git a/client/components/Windows/Settings.vue b/client/components/Windows/Settings.vue index 10930dba..d07ac25a 100644 --- a/client/components/Windows/Settings.vue +++ b/client/components/Windows/Settings.vue @@ -249,6 +249,17 @@
Warning: Push notifications are not supported by your browser. + +
+ Safari does + not support the web push notification specification, and because all browsers on iOS use Safari under the hood, The Lounge + is unable to provide push notifications on iOS devices. +
@@ -461,6 +472,7 @@ export default { "The current password field does not match your account password", update_failed: "Failed to update your password", }, + isIOS: navigator.platform.match(/(iPhone|iPod|iPad)/i) || false, }; }, computed: { diff --git a/client/css/style.css b/client/css/style.css index 7045e6e6..c79224e8 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -1839,6 +1839,7 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */ margin-top: 15px; } +#settings .apple-push-unsupported, #settings .settings-sync-panel { padding: 10px; margin-bottom: 16px; @@ -1868,6 +1869,11 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */ box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5); } +#settings .apple-push-unsupported a { + color: inherit; + text-decoration: underline; +} + #settings .opt { display: block; padding: 5px 0 5px 1px;