fix: modal for android + dropdown for ios

This commit is contained in:
Fredrik Burmester
2025-09-30 15:23:15 +02:00
parent 8407124464
commit ab472bab6e
10 changed files with 129 additions and 119 deletions

View File

@@ -35,7 +35,6 @@ export const AppLanguageSelector: React.FC<Props> = () => {
return [
{
title: t("home.settings.languages.title"),
options,
},
];

View File

@@ -49,7 +49,6 @@ export const AudioToggles: React.FC<Props> = ({ ...props }) => {
return [
{
title: t("home.settings.audio.language"),
options,
},
];

View File

@@ -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,

View File

@@ -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,
},
];