mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-04-26 18:44:41 +01:00
Changed default subtitle size depending platform
This commit is contained in:
@@ -2,6 +2,7 @@ import { atom, useAtom } from "jotai";
|
|||||||
import { useEffect } from "react";
|
import { useEffect } from "react";
|
||||||
import * as ScreenOrientation from "expo-screen-orientation";
|
import * as ScreenOrientation from "expo-screen-orientation";
|
||||||
import { storage } from "../mmkv";
|
import { storage } from "../mmkv";
|
||||||
|
import { Platform } from "react-native";
|
||||||
|
|
||||||
export type DownloadQuality = "original" | "high" | "low";
|
export type DownloadQuality = "original" | "high" | "low";
|
||||||
|
|
||||||
@@ -107,7 +108,7 @@ const loadSettings = (): Settings => {
|
|||||||
downloadMethod: "remux",
|
downloadMethod: "remux",
|
||||||
autoDownload: false,
|
autoDownload: false,
|
||||||
showCustomMenuLinks: false,
|
showCustomMenuLinks: false,
|
||||||
subtitleSize: 60,
|
subtitleSize: Platform.OS === "ios" ? 60 : 100,
|
||||||
remuxConcurrentLimit: 1,
|
remuxConcurrentLimit: 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user