Files
simplex-chat/apps
another-simple-pixel c924c13297 Theme: document why canvasColorForCurrentTheme reads CurrentColors.value directly
Reviewer asked why this helper uses CurrentColors.value.base instead of the
Compose MaterialTheme/CompositionLocal route. Reason is that the helper is
intentionally callable from both @Composable bodies and DrawScope (inside
sectionItemDivider's drawWithContent), and DrawScope can't invoke @Composable
getters. Add a paragraph to the doc-comment so future readers don't try to
'fix' it back to MaterialTheme.colors and break the divider draw path.
2026-05-18 04:13:14 -07:00
..
2025-07-08 12:22:57 +01:00