mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-04-22 16:54:42 +01:00
fix: modal for android + dropdown for ios
This commit is contained in:
@@ -35,7 +35,6 @@ export const AppLanguageSelector: React.FC<Props> = () => {
|
||||
|
||||
return [
|
||||
{
|
||||
title: t("home.settings.languages.title"),
|
||||
options,
|
||||
},
|
||||
];
|
||||
|
||||
@@ -49,7 +49,6 @@ export const AudioToggles: React.FC<Props> = ({ ...props }) => {
|
||||
|
||||
return [
|
||||
{
|
||||
title: t("home.settings.audio.language"),
|
||||
options,
|
||||
},
|
||||
];
|
||||
|
||||
@@ -92,7 +92,6 @@ export const OtherSettings: React.FC = () => {
|
||||
const orientationOptions = useMemo(
|
||||
() => [
|
||||
{
|
||||
title: t("home.settings.other.orientation"),
|
||||
options: orientations.map((orientation) => ({
|
||||
type: "radio" as const,
|
||||
label: t(ScreenOrientationEnum[orientation]),
|
||||
@@ -109,7 +108,6 @@ export const OtherSettings: React.FC = () => {
|
||||
const bitrateOptions = useMemo(
|
||||
() => [
|
||||
{
|
||||
title: t("home.settings.other.default_quality"),
|
||||
options: BITRATES.map((bitrate) => ({
|
||||
type: "radio" as const,
|
||||
label: bitrate.key,
|
||||
@@ -125,7 +123,6 @@ export const OtherSettings: React.FC = () => {
|
||||
const autoPlayEpisodeOptions = useMemo(
|
||||
() => [
|
||||
{
|
||||
title: t("home.settings.other.max_auto_play_episode_count"),
|
||||
options: AUTOPLAY_EPISODES_COUNT(t).map((item) => ({
|
||||
type: "radio" as const,
|
||||
label: item.key,
|
||||
|
||||
@@ -65,7 +65,6 @@ export const SubtitleToggles: React.FC<Props> = ({ ...props }) => {
|
||||
|
||||
return [
|
||||
{
|
||||
title: t("home.settings.subtitles.language"),
|
||||
options,
|
||||
},
|
||||
];
|
||||
@@ -82,7 +81,6 @@ export const SubtitleToggles: React.FC<Props> = ({ ...props }) => {
|
||||
|
||||
return [
|
||||
{
|
||||
title: t("home.settings.subtitles.subtitle_mode"),
|
||||
options,
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user