damus

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

commit 707f31fca1173176e835da54e7e5bd679c3f0abc
parent 9e9077bab518d73a3cdf9df6c32bb6aca834fa55
Author: Benjamin Hakes <ben.hakes@river.com>
Date:   Mon,  2 Jan 2023 08:27:29 -0800

Add Blixt & River to Wallet Selector

Changelog-Added: Add Blixt Wallet to Wallet Selector
Changelog-Added: Add River Wallet to Wallet Selector
Closes: #206

Diffstat:
Adamus/Assets.xcassets/blixt-wallet.imageset/Contents.json | 21+++++++++++++++++++++
Adamus/Assets.xcassets/blixt-wallet.imageset/blixt-wallet.png | 0
Adamus/Assets.xcassets/river.imageset/Contents.json | 21+++++++++++++++++++++
Adamus/Assets.xcassets/river.imageset/river.png | 0
Mdamus/Info.plist | 2++
Mdamus/Models/Wallet.swift | 9+++++++++
6 files changed, 53 insertions(+), 0 deletions(-)

diff --git a/damus/Assets.xcassets/blixt-wallet.imageset/Contents.json b/damus/Assets.xcassets/blixt-wallet.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "filename" : "blixt-wallet.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/damus/Assets.xcassets/blixt-wallet.imageset/blixt-wallet.png b/damus/Assets.xcassets/blixt-wallet.imageset/blixt-wallet.png Binary files differ. diff --git a/damus/Assets.xcassets/river.imageset/Contents.json b/damus/Assets.xcassets/river.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "filename" : "river.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/damus/Assets.xcassets/river.imageset/river.png b/damus/Assets.xcassets/river.imageset/river.png Binary files differ. diff --git a/damus/Info.plist b/damus/Info.plist @@ -17,6 +17,7 @@ </array> <key>LSApplicationQueriesSchemes</key> <array> + <string>river</string> <string>bitcoinbeach</string> <string>breez</string> <string>muun</string> @@ -29,6 +30,7 @@ <string>strike</string> <string>bluewallet</string> <string>walletofsatoshi</string> + <string>blixtwallet</string> </array> <key>NSAppTransportSecurity</key> <dict> diff --git a/damus/Models/Wallet.swift b/damus/Models/Wallet.swift @@ -33,6 +33,8 @@ enum Wallet: String, CaseIterable, Identifiable { case phoenix case breez case bitcoinbeach + case blixtwallet + case river var model: Model { switch self { @@ -71,6 +73,13 @@ enum Wallet: String, CaseIterable, Identifiable { case .bitcoinbeach: return .init(index: 10, tag: "bitcoinbeach", displayName: NSLocalizedString("Bitcoin Beach", comment: "Dropdown option label for Lightning wallet, Bitcoin Beach."), link: "bitcoinbeach://", appStoreLink: "https://apps.apple.com/sv/app/bitcoin-beach-wallet/id1531383905", image: "bbw") + case .blixtwallet: + return .init(index: 11, tag: "blixtwallet", displayName: NSLocalizedString("Blixt Wallet", comment: "Dropdown option label for Lightning wallet, Blixt Wallet"), link: "blixtwallet:lightning:", + appStoreLink: "null", image: "blixt-wallet") + case .river: + return .init(index: 12, tag: "river", displayName: NSLocalizedString("River", comment: "Dropdown option label for Lightning wallet, River"), link: "river://", + appStoreLink: "https://apps.apple.com/us/app/river-buy-mine-bitcoin/id1536176542", image: "river") + } }