feat(android): add attachment pending banner on boxing page
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -71,6 +71,13 @@ extension _BoxingScanPart on _BoxingPageState {
|
||||
: FeedbackEvent.scanValid,
|
||||
);
|
||||
|
||||
final attSummary = result.attachmentSummary;
|
||||
final pending =
|
||||
attSummary != null &&
|
||||
attSummary['determination'] == 'has' &&
|
||||
attSummary['all_complete'] != true;
|
||||
final pendingCount = attSummary?['pending_count'] as int? ?? 0;
|
||||
|
||||
setState(() {
|
||||
_zongpaiNo = zongpai;
|
||||
_paichanNo = result.paichanNo;
|
||||
@@ -87,6 +94,8 @@ extension _BoxingScanPart on _BoxingPageState {
|
||||
_deletingAssignedItemId = null;
|
||||
_completedJumpBoxNo = null;
|
||||
_statusOverrideText = null;
|
||||
_attachmentPending = pending;
|
||||
_attachmentPendingCount = pendingCount;
|
||||
if (_mode == BoxingMode.singleCode) {
|
||||
_paichanSwitchNotice = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user