ResultadosDigitais/matrix

Persist desktop notifications on/off preference

Aperta

#332 aperta il 26 mag 2020

 (0 commenti) (1 reazione) (0 assegnatari)JavaScript (243 fork)batch import
hacktoberfest

Metriche repository

Star
 (893 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Feature Description

The application should persist desktop notifications on/off preference

Problem

In the app bar, there is a button which enables/disables desktop notifications. This preference is not being persisted and if you refresh the page it turns on again.

Expected behaviour

The desktop notification preference should be persisted across page refreshes/different tabs.

Additional comments

Dark/light theme switch does that already using localstorage, so I suppose adding a similar mechanism to the notifications switcher could be a good feature.

Guida contributor