Skip to content

Commit

Permalink
push: remove iOS warning
Browse files Browse the repository at this point in the history
iOS 16.4 introduced webpush, we can get rid of the special case
in our settings panel.
  • Loading branch information
brunnre8 committed Mar 28, 2023
1 parent 4babd17 commit e25c296
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
11 changes: 0 additions & 11 deletions client/components/Settings/Notifications.vue
Expand Up @@ -28,17 +28,6 @@
<div v-if="store.state.pushNotificationState === 'unsupported'" class="error">
<strong>Warning</strong>:
<span>Push notifications are not supported by your browser.</span>
<div v-if="isIOS" class="apple-push-unsupported">
Safari does
<a
href="https://bugs.webkit.org/show_bug.cgi?id=182566"
target="_blank"
rel="noopener"
>not support the web push notification specification</a
>, and because all browsers on iOS use Safari under the hood, The Lounge is
unable to provide push notifications on iOS devices.
</div>
</div>
</div>
</template>
Expand Down
6 changes: 0 additions & 6 deletions client/css/style.css
Expand Up @@ -1928,7 +1928,6 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
width: 100%;
}

#settings .apple-push-unsupported,
#settings .settings-sync-panel {
padding: 10px;
margin-bottom: 16px;
Expand Down Expand Up @@ -1958,11 +1957,6 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
box-shadow: 0 0 0 3px rgb(0 123 255 / 50%);
}

#settings .apple-push-unsupported a {
color: inherit;
text-decoration: underline;
}

#settings .opt {
display: block;
padding: 5px 0 5px 1px;
Expand Down

0 comments on commit e25c296

Please sign in to comment.