The type's loading mark is not drawn in a screenshot
CI / check (push) Canceled after 0s

An indeterminate progress mark never comes to rest, and the screenshot of
an unread schedule's form waited for it for ever: CI runs 100 and 101 hung
there. The edit-with-notify shot is of a schedule that was read; a new shot
shows one that was not.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
HomerandClaude Fable 5.2 committed 2026-11-18 01:45:12 +00:00
1 parent f04a670227
commit 8a486b7228
3 files changed
+6 -2

No files matched your search

@@ -72,6 +72,7 @@ import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.clip
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.platform.LocalInspectionMode
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.text.input.KeyboardType
import androidx.compose.ui.text.style.TextAlign
@@ -1229,7 +1230,8 @@ private fun TypeChoice(state: EditState, onWhere: ((EditState) -> EditState) ->
modifier = Modifier.weight(1f),
)
// The schedule is still being read: its type is not known yet, and not to be chosen.
if (!ready && !state.loadFailed) CircularProgressIndicator(strokeWidth = 2.dp, modifier = Modifier.size(16.dp))
// (Not in a preview or a screenshot: an animation that never ends never lets the picture be taken.)
if (!ready && !state.loadFailed && !LocalInspectionMode.current) CircularProgressIndicator(strokeWidth = 2.dp, modifier = Modifier.size(16.dp))
}
ChoiceRow(
selected = ready && !state.agentic,