feat: settings toggle for safe areas in controls

This commit is contained in:
Fredrik Burmester
2024-12-23 10:26:15 +01:00
parent 8608ad02f7
commit dd09f3d4d9
4 changed files with 49 additions and 41 deletions

View File

@@ -85,7 +85,8 @@ export type Settings = {
autoDownload: boolean;
showCustomMenuLinks: boolean;
subtitleSize: number;
remuxConcurrentLimit: 1 | 2 | 3 | 4; // TODO: Maybe let people choose their own limit? 4 seems like a safe max?
remuxConcurrentLimit: 1 | 2 | 3 | 4;
safeAreaInControlsEnabled: boolean;
};
const loadSettings = (): Settings => {
@@ -122,6 +123,7 @@ const loadSettings = (): Settings => {
showCustomMenuLinks: false,
subtitleSize: Platform.OS === "ios" ? 60 : 100,
remuxConcurrentLimit: 1,
safeAreaInControlsEnabled: true,
};
try {