Browse Source

remove "mute" notifications (since they can turn them off, and the mute functionality isn't built)

home-infinite
Trent Larson 9 months ago
parent
commit
c8402797ad
  1. 1
      project.task.yaml
  2. 32
      src/views/AccountViewView.vue

1
project.task.yaml

@ -8,7 +8,6 @@ tasks:
- make the app behave correctly when App Notifications are turned off
- remove "mute notifications"
- remove sleep in py-push-server app.py?
- see if we can detect OS-level notifications if turned off
- write troubleshooting docs for notifications
- make the "App Notifications" toggle on when they turn notifications on
- make the "App Notifications" toggle off when they turn notifications off

32
src/views/AccountViewView.vue

@ -127,38 +127,6 @@
></div>
</div>
</label>
<label
for="toggleMuteNotifications"
class="flex items-center justify-between cursor-pointer mt-4"
@click="
this.$notify(
{
group: 'modal',
type: 'notification-mute',
},
-1,
)
"
>
<!-- label -->
<div>Mute Notifications</div>
<!-- toggle -->
<div class="relative ml-2">
<!-- input -->
<input
type="checkbox"
name="toggleMuteNotifications"
class="sr-only"
disabled
/>
<!-- line -->
<div class="block bg-slate-500 w-14 h-8 rounded-full"></div>
<!-- dot -->
<div
class="dot absolute left-1 top-1 bg-slate-400 w-6 h-6 rounded-full transition"
></div>
</div>
</label>
</div>
<h3 class="text-sm uppercase font-semibold mb-3">Data</h3>

Loading…
Cancel
Save