Revert notification toolbar setting
It isn't a setting. Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
289b0c2b6a
commit
c7d8f3931f
3 changed files with 4 additions and 13 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue