-
Notifications
You must be signed in to change notification settings - Fork 290
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
Conversation
looks good to me! |
should be good to merge @danieldaquino ? |
Thank you @itstomekk for the PR! I gave it a try, but I noticed the logo is not showing up for some reason: I also noticed this error message:
I believe there is a typo on the image name. When I apply this change locally the image appears: diff --git a/damus/Models/Wallet.swift b/damus/Models/Wallet.swift
index 7693cb1c..5d82373c 100644
--- a/damus/Models/Wallet.swift
+++ b/damus/Models/Wallet.swift
@@ -93,7 +93,7 @@ enum Wallet: String, CaseIterable, Identifiable, StringCodable {
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: "albygo:lightning:",
- appStoreLink: "https://apps.apple.com/us/app/alby-go/id6471335774", image: "albygo")
+ appStoreLink: "https://apps.apple.com/us/app/alby-go/id6471335774", image: "alby-go")
}
} Furthermore, I tried installing Alby Go on my phone and going through the link, but it always takes me to the App store page. Perhaps it would be best for us to wait for the Alby team's response on the Can you please check these? Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Marking this PR as "requested changes" to help me keep track of which PRs I need to look at. My review comments are in a previous comment)
Thanks for testing it!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Thank you @itstomekk! I confirm that the icon issue has been fixed! However, I still had issues with opening the Alby Go link with Alby Go installed on my phone. I did a bit of digging and I found that this patch on to top of your PR seems to fix that: diff --git a/damus/Info.plist b/damus/Info.plist
index e77d88a3..fb84175d 100644
--- a/damus/Info.plist
+++ b/damus/Info.plist
@@ -48,6 +48,7 @@
<key>LSApplicationQueriesSchemes</key>
<array>
<string>river</string>
+ <string>alby</string>
<string>albygo</string>
<string>bitcoinbeach</string>
<string>breez</string>
diff --git a/damus/Models/Wallet.swift b/damus/Models/Wallet.swift
index 83b33ff6..1c2552c4 100644
--- a/damus/Models/Wallet.swift
+++ b/damus/Models/Wallet.swift
@@ -92,7 +92,7 @@ enum Wallet: String, CaseIterable, Identifiable, StringCodable {
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://",
+ return .init(index: 13, tag: "albygo", displayName: "Alby Go", link: "alby:",
appStoreLink: "https://apps.apple.com/us/app/alby-go/id6471335774", image: "alby-go")
} Other than that, the code itself is good for merging. The commits need a bit of tweaking to fully adhere to our contribution guidelines (https://github.com/damus-io/damus/blob/master/docs/CONTRIBUTING.md), but I can easily take care of that for you this time since it's your first PR with us, so don't worry! I just need one last thing: Our guidelines require contributors to signoff their contributions (See https://github.com/damus-io/damus/blob/master/docs/CONTRIBUTING.md#sign-your-work---the-developers-certificate-of-origin) Usually developers should do that while committing via
Thank you! |
Thank you @danieldaquino !
|
Performed the final needed tweaks and merged your changes manually! It's now merged on Thank you @itstomekk! |
Summary
Added Alby Go to mobile wallets selection
Checklist
Closes:
orFixes:
tags in the commit messages wherever applicable, or made sure those are not needed. See Submitting patchesOther notes
Simple patch, my first here, I'm not very experienced with github