Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Alby Go to mobile wallets selection #2668

Closed
wants to merge 11 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions damus/Assets.xcassets/alby-go.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "alby-go.png",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions damus/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
<key>LSApplicationQueriesSchemes</key>
<array>
<string>river</string>
<string>albygo</string>
<string>bitcoinbeach</string>
<string>breez</string>
<string>muun</string>
Expand Down
4 changes: 4 additions & 0 deletions damus/Models/Wallet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ enum Wallet: String, CaseIterable, Identifiable, StringCodable {
case bitcoinbeach
case blixtwallet
case river
case albygo

var model: Model {
switch self {
Expand Down Expand Up @@ -90,6 +91,9 @@ enum Wallet: String, CaseIterable, Identifiable, StringCodable {
case .river:
return .init(index: 12, tag: "river", displayName: "River", link: "river://",
appStoreLink: "https://apps.apple.com/us/app/river-buy-mine-bitcoin/id1536176542", image: "river")
case .albygo:
return .init(index: 13, tag: "albygo", displayName: "Alby Go", link: "alby://",
appStoreLink: "https://apps.apple.com/us/app/alby-go/id6471335774", image: "alby-go")

}
}
Expand Down
3 changes: 3 additions & 0 deletions damus/id.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ Sentence composed of 2 variables to describe how many relay servers a user is co
/* Dropdown option label for Lightning wallet, Blixt Wallet */
"Blixt Wallet" = "Blixt Wallet";

/* Dropdown option label for Lightning wallet, Alby Go */
"Alby Go" = "Alby Go";

/* Alert button to block a user.
Button to block a profile.
Context menu option for blocking users. */
Expand Down