You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Revert notification toolbar setting
It isn't a setting. Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
@@ -45,8 +45,6 @@ export default class DeviceSettingsHandler extends SettingsHandler {
|
||||
return localStorage.getItem("notifications_body_enabled") === "true";
|
||||
} else if (settingName === "audioNotificationsEnabled") {
|
||||
return localStorage.getItem("audio_notifications_enabled") === "true";
|
||||
} else if (settingName === "notificationToolbarHidden") {
|
||||
return localStorage.getItem("notifications_hidden") === "true";
|
||||
}
|
||||
|
||||
return this._getSettings()[settingName];
|
||||
@@ -68,9 +66,6 @@ export default class DeviceSettingsHandler extends SettingsHandler {
|
||||
} else if (settingName === "audioNotificationsEnabled") {
|
||||
localStorage.setItem("audio_notifications_enabled", newValue);
|
||||
return Promise.resolve();
|
||||
} else if (settingName === "notificationToolbarHidden") {
|
||||
localStorage.setItem("notifications_hidden", newValue);
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
const settings = this._getSettings();
|
||||
|
||||
Reference in New Issue
Block a user