Skip to content

Commit

Permalink
fix: disable general notification button and add install recommendati…
Browse files Browse the repository at this point in the history
…on (#107)
  • Loading branch information
AnSch1510 authored Jun 26, 2024
1 parent fbe80cd commit e0afe6d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ <h1 class="m-0">{{ translations.nav_settings() }}</h1>
} @else {
@if (settings(); as settings) {
<p-card [header]="translations.settings_notifications_title()">
<div class="flex flex-col gap-4">
<div class="flex flex-row gap-4">
<!-- this toggle caused confusion during alpha testing -->
<!--
<div class="flex flex-row items-center gap-4">
<div class="grow">
{{ translations.settings_notifications_enabledOnAllDevices() }}
Expand All @@ -70,7 +72,7 @@ <h1 class="m-0">{{ translations.nav_settings() }}</h1>
[showTrigger]="settingsSaveStates.enabledOnAllDevices | async"
/>
</div>
</div>
</div> -->

<div class="flex flex-col gap-1">
<div class="flex flex-row items-center gap-4">
Expand Down
2 changes: 1 addition & 1 deletion src/client/src/app/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"enabledOnAllDevices": "Auf allen Geräten aktiviert",
"eanbled": "Auf diesem Gerät aktiviert",
"errors": {
"notSupported": "Benachrichtigungen werden von diesem Browser nicht unterstützt.",
"notSupported": "Benachrichtigungen werden von diesem Browser nicht unterstützt. Gegenebenfalls muss die Webseite auf dem Home-Bildschirm installiert werden.",
"notGranted": {
"title": "Erlaubnis über Benachrichtigungen nicht erteilt",
"description": "Um Benachrichtigungen erhalten zu können, musst du dies in den Systemeinstellungen aktivieren, oder die App erneut installieren."
Expand Down
2 changes: 1 addition & 1 deletion src/client/src/app/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"enabledOnAllDevices": "Enabled on all devices",
"eanbled": "Enabled on this device",
"errors": {
"notSupported": "Notifications are not supported by this browser.",
"notSupported": "Notifications are not supported by this browser. Probably this website needs to be installed onto the homescreen.",
"notGranted": {
"title": "Notification permission not granted",
"description": "To receive notifications, you must activate this in the system settings or reinstall the app."
Expand Down

0 comments on commit e0afe6d

Please sign in to comment.