Feature/zen mode (#110)

* Start with implementation
* Refactor AuthGuard, persist displayMode in user settings
* Refactor DisplayMode to ViewMode
* Update changelog
This commit is contained in:
Thomas
2021-05-22 10:04:56 +02:00
committed by GitHub
parent 702ee956a2
commit 78a4946e8b
22 changed files with 338 additions and 53 deletions

View File

@@ -1,4 +1,4 @@
import { Currency } from '.prisma/client';
import { Currency } from '@prisma/client';
export const baseCurrency = Currency.CHF;

View File

@@ -1,6 +1,7 @@
import { Currency } from '@prisma/client';
import { Currency, ViewMode } from '@prisma/client';
export interface UserSettings {
baseCurrency: Currency;
locale: string;
viewMode: ViewMode;
}