nwc: turn pending zap orange when we have a NWC success
Orange means payment successful now, not just presence of zap This introduces a paid pending state, which shows up as an orange timer thing in the zaps view. This can be useful if the zap is never sent. We don't want the user to think the payment didn't go through.
This commit is contained in:
@@ -26,7 +26,7 @@ struct ZapEvent: View {
|
||||
|
||||
if zap.is_pending {
|
||||
Image(systemName: "clock.arrow.circlepath")
|
||||
.foregroundColor(DamusColors.yellow)
|
||||
.foregroundColor(zap.is_paid ? Color.orange : DamusColors.yellow)
|
||||
.help(NSLocalizedString("Only you can see this message and who sent it.", comment: "Help text on green lock icon that explains that only the current user can see the message of a zap event and who sent the zap."))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user