feat(ui,train): a pull far enough to refresh ticks, lightly, as the navigation does

AppRefreshIndicator ticks (selectionClick, as a choice on the floating bar
or the rail) once the pull commits: as it snaps back to refresh, or as it
refreshes at once, whichever comes first, and not for a pull let go too
early. Train's list of days pulled to read the band used Flutter's own
RefreshIndicator, the older spinner; it takes the app's now, and the tick
with it.

Whats-New: Pulling a list down to refresh ticks lightly.
Whats-New-De: Eine Liste zum Aktualisieren herunterziehen gibt ein leichtes Tippen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
Tizian 「ティツィアーン」 2026-11-04 20:23:27 +01:00
commit bcbefe38a3
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64

View file

@ -55,7 +55,7 @@ class const DaysList({super.key}) extends StatelessWidget {
if (!state.holdsLoop) {
return list;
}
return RefreshIndicator(
return AppRefreshIndicator(
onRefresh: () => context.read<DaysCubit>().readBand(),
child: list,
);