Skip to content

Commit

Permalink
update calendar widget layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve-Mr committed May 16, 2024
1 parent 7ee565d commit 6113c47
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ class CalendarWidget : GlanceAppWidget() {
val dtend = formatMillisecondsToHhMm(event.dtend!!)

Text(
modifier = GlanceModifier.fillMaxWidth(),
text = if (event.allDay == false && dtend != dtstart) {
"$dtstart - $dtend"
} else LocalContext.current.getString(R.string.allday),
Expand Down

0 comments on commit 6113c47

Please sign in to comment.