Fix widget onUpdate crash, skip provider echoes, per-widget redraws (#420, #229)

This commit is contained in:
makiolaj committed 2026-10-21 17:36:30 +02:00
1 parent 225901ceee
commit 35f5dc1666
10 files changed
+172 -68

No files matched your search

@@ -9,8 +9,8 @@ class MonthWindowCenterTest {
fun `the loaded window always reaches two months past the shown one`() {
for (index in -40..40) {
val center = monthWindowCenter(index)
assertThat(index - 2).isAtLeast(center - 3)
assertThat(index + 2).isAtMost(center + 3)
assertThat(index - 2).isAtLeast(center - MONTH_WIDGET_PAD_MONTHS)
assertThat(index + 2).isAtMost(center + MONTH_WIDGET_PAD_MONTHS)
}
}