Reviewed-on: https://codeberg.org/jlmakiola/calendula/pulls/106
This commit is contained in:
@@ -56,6 +56,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
send you to the wrong app, "toggle all" spanned both accounts at once, and
|
send you to the wrong app, "toggle all" spanned both accounts at once, and
|
||||||
collapsing one collapsed the other. Where a name really is shared, each group
|
collapsing one collapsed the other. Where a name really is shared, each group
|
||||||
now names the app it comes from ([#77]).
|
now names the app it comes from ([#77]).
|
||||||
|
- In the month view's **Split** style, the new-event button now starts on the
|
||||||
|
day you have selected. It always started on today, whichever day was selected
|
||||||
|
and listed below the grid ([#87]).
|
||||||
- Search results now show an all-day event's real date. West of UTC — anywhere in
|
- Search results now show an all-day event's real date. West of UTC — anywhere in
|
||||||
the Americas, say — a search hit was dated one day early, disagreeing with the
|
the Americas, say — a search hit was dated one day early, disagreeing with the
|
||||||
day the month, week and agenda views file the same event under ([#82]).
|
day the month, week and agenda views file the same event under ([#82]).
|
||||||
@@ -1211,4 +1214,5 @@ automatically, with zero telemetry and no internet permission.
|
|||||||
[#79]: https://codeberg.org/jlmakiola/calendula/issues/79
|
[#79]: https://codeberg.org/jlmakiola/calendula/issues/79
|
||||||
[#81]: https://codeberg.org/jlmakiola/calendula/issues/81
|
[#81]: https://codeberg.org/jlmakiola/calendula/issues/81
|
||||||
[#82]: https://codeberg.org/jlmakiola/calendula/issues/82
|
[#82]: https://codeberg.org/jlmakiola/calendula/issues/82
|
||||||
|
[#87]: https://codeberg.org/jlmakiola/calendula/issues/87
|
||||||
[#89]: https://codeberg.org/jlmakiola/calendula/issues/89
|
[#89]: https://codeberg.org/jlmakiola/calendula/issues/89
|
||||||
|
|||||||
@@ -365,10 +365,16 @@ fun MonthScreen(
|
|||||||
todayText = stringResource(R.string.month_today_action),
|
todayText = stringResource(R.string.month_today_action),
|
||||||
onToday = jumpToToday,
|
onToday = jumpToToday,
|
||||||
onCreate = {
|
onCreate = {
|
||||||
// Anchor on today when its month is shown, else the 1st.
|
// Split has a selected day and lists it below the grid, so
|
||||||
|
// that is the day the new event belongs to. The other
|
||||||
|
// styles have no selection: anchor on today when its month
|
||||||
|
// is shown, else the 1st.
|
||||||
onCreateEvent(
|
onCreateEvent(
|
||||||
if (isOnCurrentMonth) today
|
when {
|
||||||
else LocalDate(titleMonth.year, titleMonth.month, 1),
|
viewStyle == MonthViewStyle.Split -> selectedDate
|
||||||
|
isOnCurrentMonth -> today
|
||||||
|
else -> LocalDate(titleMonth.year, titleMonth.month, 1)
|
||||||
|
},
|
||||||
null,
|
null,
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user