Merge branch 'applePush'

This commit is contained in:
Reto Brunner 2023-06-24 14:31:23 +02:00
commit c43a47afc1
2 changed files with 0 additions and 17 deletions

View file

@ -28,17 +28,6 @@
<div v-if="store.state.pushNotificationState === 'unsupported'" class="error"> <div v-if="store.state.pushNotificationState === 'unsupported'" class="error">
<strong>Warning</strong>: <strong>Warning</strong>:
<span>Push notifications are not supported by your browser.</span> <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>
</div> </div>
</template> </template>

View file

@ -1928,7 +1928,6 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
width: 100%; width: 100%;
} }
#settings .apple-push-unsupported,
#settings .settings-sync-panel { #settings .settings-sync-panel {
padding: 10px; padding: 10px;
margin-bottom: 16px; margin-bottom: 16px;
@ -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%); box-shadow: 0 0 0 3px rgb(0 123 255 / 50%);
} }
#settings .apple-push-unsupported a {
color: inherit;
text-decoration: underline;
}
#settings .opt { #settings .opt {
display: block; display: block;
padding: 5px 0 5px 1px; padding: 5px 0 5px 1px;