mirror of
https://code.gri.mw/GUI/grim.git
synced 2026-07-10 17:04:10 +00:00
f714e4498a
Wire GRIM's receiver-initiated invoice (Invoice1) over nostr so the Pay-tab "Request" button actually asks someone for money: pick a contact, issue an Invoice1, DM it; they get the existing approve-to-pay card. New WalletTask::NostrRequest mirrors NostrSend (issue_invoice + RequestedByUs / AwaitingI2, reusing send_payment_dm); the send flow gains a request mode (Request from -> Confirm request -> Send request -> Requested) with no balance guard, since requesting isn't spending. Incoming requests are now opt-out (Settings -> Requests, on by default): when off, an incoming Invoice1 is dropped and the preference is advertised in the kind-0 profile (goblin_accepts_requests) so a requester sees "Could not request" before sending. Adds a Cash App-style toggle switch widget. Also enlarge the center Pay puck in the floating nav, and make the macOS release build recur: release.yml now triggers on release publish (macOS only, since Linux/Windows/Android/AppImage are built locally).