Fixes silenced notification preventing notification prompt to be shown (#9336)

This commit is contained in:
Germain 2022-09-30 16:11:04 +01:00 committed by GitHub
parent a704a2fbb7
commit c2e2f406af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 10 additions and 75 deletions

View file

@ -122,7 +122,7 @@ export default class Notifications extends React.PureComponent<IProps, IState> {
this.state = {
phase: Phase.Loading,
deviceNotificationsEnabled: SettingsStore.getValue("deviceNotificationsEnabled") ?? false,
deviceNotificationsEnabled: SettingsStore.getValue("deviceNotificationsEnabled") ?? true,
desktopNotifications: SettingsStore.getValue("notificationsEnabled"),
desktopShowBody: SettingsStore.getValue("notificationBodyEnabled"),
audioNotifications: SettingsStore.getValue("audioNotificationsEnabled"),