From 10268492c67cf9b975da452d138cdea9ef293ea6 Mon Sep 17 00:00:00 2001 From: Jean-Luc Makiola Date: Wed, 23 Sep 2026 19:04:30 +0200 Subject: [PATCH] Leave the new calendar's name empty (#287) --- .../jeanlucmakiola/calendula/ui/onboarding/CalendarsStep.kt | 5 +++-- app/src/main/res/values/strings.xml | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/de/jeanlucmakiola/calendula/ui/onboarding/CalendarsStep.kt b/app/src/main/java/de/jeanlucmakiola/calendula/ui/onboarding/CalendarsStep.kt index 3f31211..d3abe64 100644 --- a/app/src/main/java/de/jeanlucmakiola/calendula/ui/onboarding/CalendarsStep.kt +++ b/app/src/main/java/de/jeanlucmakiola/calendula/ui/onboarding/CalendarsStep.kt @@ -50,7 +50,6 @@ internal fun CalendarsStep( navigationIcon: (@Composable () -> Unit)? = null, ) { val context = LocalContext.current - val localName = stringResource(R.string.onboarding_calendars_local_name) // The same editor Settings opens, rather than a calendar conjured out of // nowhere: "create a calendar" should let you name and colour it, and the // step is the first place anyone meets one. @@ -60,7 +59,9 @@ internal fun CalendarsStep( CalendarEditor( sessionKey = 0, isNew = true, - initialName = localName, + // Empty, not a suggestion: a name already in the field reads as one + // the app has chosen, and the first thing to do is clear it. + initialName = "", initialColor = CalendarColorPalette.all.first(), initialDescription = "", onSave = { name, color, description -> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 72ef9b6..3461603 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -300,7 +300,6 @@ Calendula exports your local calendars in the background. Change how often in Settings. Somewhere to put your events This device has no calendar yet. Calendula writes to the calendars already on your phone — it needs at least one. - My calendar Create a calendar on this device Sync with a CalDAV server Not now