Handle mobile viewer

This commit is contained in:
ZXY101
2023-10-02 12:05:26 +02:00
parent 83ae19f510
commit 310febe53c
7 changed files with 162 additions and 40 deletions

View File

@@ -37,6 +37,7 @@ export type Settings = {
hasCover: boolean;
mobile: boolean;
backgroundColor: string;
swipeThreshold: number;
fontSize: FontSize;
zoomDefault: ZoomModes;
ankiConnectSettings: AnkiConnectSettings;
@@ -67,6 +68,7 @@ const defaultSettings: Settings = {
charCount: false,
mobile: false,
backgroundColor: '#030712',
swipeThreshold: 50,
fontSize: 'auto',
zoomDefault: 'zoomFitToScreen',
ankiConnectSettings: {