damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 7d3d23def33177dcf5ff14d753a972f410871dbe
parent ac1a5d237e88b749a4dca7adcf3617fd75c8d918
Author: Rob Seward <rseward@squareup.com>
Date:   Fri, 27 Jan 2023 14:01:10 -0500

Add universal link for Cash App

Update the the Cash App wallet option to use a universal link that will start the payment process in Cash App.

Changelog-Fixed: Fix Cash App invoice payments
Closes: #454

Diffstat:
Mdamus/Info.plist | 1-
Mdamus/Models/Wallet.swift | 2+-
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/damus/Info.plist b/damus/Info.plist @@ -24,7 +24,6 @@ <string>zeusln</string> <string>zebedee</string> <string>lightning</string> - <string>squarecash</string> <string>phoenix</string> <string>lnlink</string> <string>strike</string> diff --git a/damus/Models/Wallet.swift b/damus/Models/Wallet.swift @@ -45,7 +45,7 @@ enum Wallet: String, CaseIterable, Identifiable { return .init(index: 0, tag: "strike", displayName: NSLocalizedString("Strike", comment: "Dropdown option label for Lightning wallet, Strike."), link: "strike:", appStoreLink: "https://apps.apple.com/us/app/strike-bitcoin-payments/id1488724463", image: "strike") case .cashapp: - return .init(index: 1, tag: "cashapp", displayName: NSLocalizedString("Cash App", comment: "Dropdown option label for Lightning wallet, Cash App."), link: "squarecash://", + return .init(index: 1, tag: "cashapp", displayName: NSLocalizedString("Cash App", comment: "Dropdown option label for Lightning wallet, Cash App."), link: "https://cash.app/launch/lightning/", appStoreLink: "https://apps.apple.com/us/app/cash-app/id711923939", image: "cashapp") case .muun: return .init(index: 2, tag: "muun", displayName: NSLocalizedString("Muun", comment: "Dropdown option label for Lightning wallet, Muun."), link: "muun:", appStoreLink: "https://apps.apple.com/us/app/muun-wallet/id1482037683", image: "muun")