Leave the new calendar's name empty (#287)

This commit is contained in:
2026-09-23 19:04:30 +02:00
parent 02e72c49ab
commit 10268492c6
2 changed files with 3 additions and 3 deletions
@@ -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 ->
-1
View File
@@ -300,7 +300,6 @@
<string name="onboarding_backup_benefit_daily_body">Calendula exports your local calendars in the background. Change how often in Settings.</string>
<string name="onboarding_calendars_title">Somewhere to put your events</string>
<string name="onboarding_calendars_body">This device has no calendar yet. Calendula writes to the calendars already on your phone — it needs at least one.</string>
<string name="onboarding_calendars_local_name">My calendar</string>
<string name="onboarding_calendars_local_button">Create a calendar on this device</string>
<string name="onboarding_calendars_caldav_button">Sync with a CalDAV server</string>
<string name="onboarding_calendars_skip_button">Not now</string>