Browse Source

Feature/reorder functions in settings storage service (#5252)

* Reorder functions
pull/5481/head
Thomas Kaul 2 weeks ago
committed by GitHub
parent
commit
8e59f5dbd3
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 8
      apps/client/src/app/services/settings-storage.service.ts

8
apps/client/src/app/services/settings-storage.service.ts

@ -12,11 +12,11 @@ export class SettingsStorageService {
return window.localStorage.getItem(aKey); return window.localStorage.getItem(aKey);
} }
public setSetting(aKey: string, aValue: string) {
window.localStorage.setItem(aKey, aValue);
}
public removeSetting(aKey: string) { public removeSetting(aKey: string) {
return window.localStorage.removeItem(aKey); return window.localStorage.removeItem(aKey);
} }
public setSetting(aKey: string, aValue: string) {
window.localStorage.setItem(aKey, aValue);
}
} }

Loading…
Cancel
Save