Compare commits

..

1 Commits

Author SHA1 Message Date
c1fc13e091 chore(deps): update gradle to v9.6.1 2026-08-17 05:03:15 +00:00
3 changed files with 2 additions and 20 deletions

View File

@@ -7,13 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Changed
- Month-view event titles no longer end in an ellipsis. The "…" took the width
of a couple of characters and told you nothing you couldn't already see, so
the title now simply runs to the edge of its chip — a few more letters per
cell, which is often the difference between two events you can tell apart and
two you can't ([#164]).
## [2.19.1] — 2026-08-11
### Added
@@ -1421,4 +1414,3 @@ automatically, with zero telemetry and no internet permission.
[#123]: https://codeberg.org/jlmakiola/calendula/issues/123
[#163]: https://codeberg.org/jlmakiola/calendula/issues/163
[#173]: https://codeberg.org/jlmakiola/calendula/issues/173
[#164]: https://codeberg.org/jlmakiola/calendula/issues/164

View File

@@ -2352,21 +2352,11 @@ private fun MonthBar(
},
contentAlignment = Alignment.CenterStart,
) {
// Clipping only keeps the start of the title in an LTR layout: with
// softWrap off Compose lays the line out at its full width and clips to
// the chip's *left* edge, which in RTL is the end of the string. So RTL
// keeps the ellipsis, which truncates at the logical end either way.
val rtl = LocalLayoutDirection.current == LayoutDirection.Rtl
Text(
text = title,
style = MaterialTheme.typography.labelSmall,
maxLines = 1,
// No "…" (#164): the chip is narrow enough that the ellipsis costs a
// couple of readable characters. softWrap is off with it — left on,
// a clipped line breaks at the last whole word instead of running to
// the chip's edge, which reads as *less* title, not more.
overflow = if (rtl) TextOverflow.Ellipsis else TextOverflow.Clip,
softWrap = rtl,
overflow = TextOverflow.Ellipsis,
color = eventInk(fill),
)
}

View File

@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.1-bin.zip
distributionSha256Sum=bafc141b619ad6350fd975fc903156dd5c151998cc8b058e8c1044ab5f7b031f
networkTimeout=10000
validateDistributionUrl=true