When opening a Lightning incoming transaction detail that has no saved metadata, _loadPendingMintInvoice() is called asynchronously. During the await, the UI briefly shows the "invoice not available" placeholder before replacing it with the actual invoice once loaded.
This causes a visual flash that can be confusing.
Suggested fix:
Add a _isLoadingPendingInvoice flag to suppress the placeholder while the async lookup is in progress.
Affected file: lib/screens/9_history/history_screen.dart
Severity: Low cosmetic only, no functional impact
When opening a Lightning incoming transaction detail that has no saved metadata,
_loadPendingMintInvoice()is called asynchronously. During the await, the UI briefly shows the "invoice not available" placeholder before replacing it with the actual invoice once loaded.This causes a visual flash that can be confusing.
Suggested fix:
Add a
_isLoadingPendingInvoiceflag to suppress the placeholder while the async lookup is in progress.Affected file:
lib/screens/9_history/history_screen.dartSeverity: Low cosmetic only, no functional impact