diff --git a/src/frontend/app/ui/admin/admin.component.ts b/src/frontend/app/ui/admin/admin.component.ts index f8ff9cfc..95d66073 100644 --- a/src/frontend/app/ui/admin/admin.component.ts +++ b/src/frontend/app/ui/admin/admin.component.ts @@ -62,7 +62,8 @@ export class AdminComponent implements OnInit, AfterViewInit { } modeToggle(): void { - this.cookieService.set(CookieNames.advancedSettings, this.simplifiedMode ? 'false' : 'true'); + // save it for some years + this.cookieService.set(CookieNames.advancedSettings, this.simplifiedMode ? 'false' : 'true', 365 * 50); } }