()
| 242 | } |
| 243 | |
| 244 | public static getStoredSettings(): SiteSettings { |
| 245 | return JSON.parse(localStorage.get('settings', '{}')); |
| 246 | } |
| 247 | |
| 248 | public static setStoredSettings(newSettings: SiteSettings) { |
| 249 | localStorage.set('settings', JSON.stringify(newSettings)); |
no test coverage detected