Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

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

Thomas Kaul8e59f5dbd332
diff --git a/apps/client/src/app/services/settings-storage.service.ts b/apps/client/src/app/services/settings-storage.service.ts
index add224fd83..87d995d762 100644
--- a/apps/client/src/app/services/settings-storage.service.ts
+++ b/apps/client/src/app/services/settings-storage.service.ts
@@ -12,11 +12,11 @@ export class SettingsStorageService {
return window.localStorage.getItem(aKey);
}
- public setSetting(aKey: string, aValue: string) {
- window.localStorage.setItem(aKey, aValue);
- }
-
public removeSetting(aKey: string) {
return window.localStorage.removeItem(aKey);
}
+
+ public setSetting(aKey: string, aValue: string) {
+ window.localStorage.setItem(aKey, aValue);
+ }
}