damus

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

commit 4781795187a41f4a7f5053ba51bbf6571c7edcfb
parent 2c15d22d86c8a66394c67eebe7b480c7f0ff7b7e
Author: Lee Salminen <leesalminen@gmail.com>
Date:   Sat, 31 Dec 2022 12:18:39 -0600

Add Breez & Bitcoin Beach wallets

Closes: #187
Changelog-Added: Added Breez wallet to wallet selector
Changelog-Added: Added Bitcoin Beach wallet to wallet selector

Diffstat:
Adamus/Assets.xcassets/bbw.imageset/Contents.json | 21+++++++++++++++++++++
Adamus/Assets.xcassets/bbw.imageset/bbw.jpg | 0
Adamus/Assets.xcassets/breez.imageset/Contents.json | 21+++++++++++++++++++++
Adamus/Assets.xcassets/breez.imageset/breez.jpg | 0
Mdamus/Info.plist | 2++
Mdamus/Models/Wallet.swift | 8++++++++
6 files changed, 52 insertions(+), 0 deletions(-)

diff --git a/damus/Assets.xcassets/bbw.imageset/Contents.json b/damus/Assets.xcassets/bbw.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "filename" : "bbw.jpg", + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/damus/Assets.xcassets/bbw.imageset/bbw.jpg b/damus/Assets.xcassets/bbw.imageset/bbw.jpg Binary files differ. diff --git a/damus/Assets.xcassets/breez.imageset/Contents.json b/damus/Assets.xcassets/breez.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "filename" : "breez.jpg", + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/damus/Assets.xcassets/breez.imageset/breez.jpg b/damus/Assets.xcassets/breez.imageset/breez.jpg Binary files differ. diff --git a/damus/Info.plist b/damus/Info.plist @@ -17,6 +17,8 @@ </array> <key>LSApplicationQueriesSchemes</key> <array> + <string>bitcoinbeach</string> + <string>breez</string> <string>muun</string> <string>zeusln</string> <string>zebedee</string> diff --git a/damus/Models/Wallet.swift b/damus/Models/Wallet.swift @@ -31,6 +31,8 @@ enum Wallet: String, CaseIterable, Identifiable { case zeusln case lnlink case phoenix + case breez + case bitcoinbeach var model: Model { switch self { @@ -63,6 +65,12 @@ enum Wallet: String, CaseIterable, Identifiable { case .phoenix: return .init(index: 8, tag: "phoenix", displayName: "Phoenix", link: "phoenix://", appStoreLink: "https://apps.apple.com/us/app/phoenix-wallet/id1544097028", image: "phoenix") + case .breez: + return .init(index: 9, tag: "breez", displayName: "Breez", link: "breez:", + appStoreLink: "https://apps.apple.com/us/app/breez-lightning-client-pos/id1463604142", image: "breez") + case .bitcoinbeach: + return .init(index: 10, tag: "bitcoinbeach", displayName: "Bitcoin Beach", link: "bitcoinbeach://", + appStoreLink: "https://apps.apple.com/sv/app/bitcoin-beach-wallet/id1531383905", image: "bbw") } }