chore(wip): lot #165-169 validé QA + rework foreground #163 (KO - preuve device/toolchain insuffisante)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-28 17:59:43 +02:00
parent 917777e18b
commit bc533d6c45
32 changed files with 898 additions and 123 deletions

View File

@ -187,6 +187,10 @@ final class WatchSessionViewModel extends ValueNotifier<WatchSessionUiState> {
return _sendScoreCommand(WatchCommandType.decrementScore, -1);
}
Future<void> completeCurrentStep() {
return _sendCommand(WatchCommandType.completeCurrentStep);
}
@override
void dispose() {
_waitingTimer?.cancel();
@ -288,8 +292,7 @@ final class WatchSessionViewModel extends ValueNotifier<WatchSessionUiState> {
value = value.copyWith(scoreWaitingForPhone: true);
});
_scoreCommandTimeoutTimer = Timer(_commandTimeout, () {
_clearScorePending(recalibrate: true);
unawaited(HapticFeedback.heavyImpact());
value = value.copyWith(scoreWaitingForPhone: true);
unawaited(_nativeClient.requestResync());
});
try {