From 108503ad532ff0644e11c8f452b6936440ab360e Mon Sep 17 00:00:00 2001 From: Scarriffle Date: Wed, 15 Jul 2026 06:45:22 +0200 Subject: [PATCH] iOS: month-switching setting as a named dropdown (parity with web) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace the boolean "month view as pages" toggle with a Monatswechsel dropdown: Continuous scroll vs. Page by page — same names/format as the web client. Co-Authored-By: Claude Opus 4.8 --- Calendarr iOS/Models/Localization.swift | 6 ++++++ Calendarr iOS/Views/SettingsView.swift | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Calendarr iOS/Models/Localization.swift b/Calendarr iOS/Models/Localization.swift index a74a724..6b1e67e 100644 --- a/Calendarr iOS/Models/Localization.swift +++ b/Calendarr iOS/Models/Localization.swift @@ -137,6 +137,9 @@ private let strings: [String: [String: String]] = [ "settings.sunday": "Sonntag", "settings.dimpast": "Vergangene Termine ausgrauen", "settings.month_paged": "Monatsansicht seitenweise wischen", + "settings.month_mode": "Monatswechsel", + "settings.month_mode.scroll": "Fortlaufend scrollen", + "settings.month_mode.paged": "Seitenweise blättern", "settings.default_duration": "Standard-Termindauer", "settings.nav.profile": "Profil", "settings.privacy": "Privatsphäre", @@ -505,6 +508,9 @@ private let strings: [String: [String: String]] = [ "settings.sunday": "Sunday", "settings.dimpast": "Dim past events", "settings.month_paged": "Swipe month view as pages", + "settings.month_mode": "Month switching", + "settings.month_mode.scroll": "Continuous scroll", + "settings.month_mode.paged": "Page by page", "settings.default_duration": "Default event duration", "settings.nav.profile": "Profile", "settings.privacy": "Privacy", diff --git a/Calendarr iOS/Views/SettingsView.swift b/Calendarr iOS/Views/SettingsView.swift index fd1cbc5..65b654a 100644 --- a/Calendarr iOS/Views/SettingsView.swift +++ b/Calendarr iOS/Views/SettingsView.swift @@ -309,7 +309,13 @@ struct SettingsView: View { } HStack(spacing: 12) { syncIcon("month_view_paged") - Toggle(L10n.t("settings.month_paged", appLang), isOn: $monthViewPaged).tint(Color.accentColor) + Text(L10n.t("settings.month_mode", appLang)) + Spacer() + Picker("", selection: $monthViewPaged) { + Text(L10n.t("settings.month_mode.scroll", appLang)).tag(false) + Text(L10n.t("settings.month_mode.paged", appLang)).tag(true) + } + .pickerStyle(.menu).labelsHidden() } HStack(spacing: 12) { syncIcon("hour_height")