Browse Source

add lnlink

post-button-style
Suhail Saqan 2 years ago
parent
commit
a8921dc24f
No known key found for this signature in database GPG Key ID: C3E8D33BFD16C6E6
  1. 21
      damus/Assets.xcassets/lnlink.imageset/Contents.json
  2. BIN
      damus/Assets.xcassets/lnlink.imageset/lnlink.png
  3. 1
      damus/Util/Constants.swift
  4. 2
      damus/Views/SelectWalletView.swift

21
damus/Assets.xcassets/lnlink.imageset/Contents.json

@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "lnlink.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

BIN
damus/Assets.xcassets/lnlink.imageset/lnlink.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 547 KiB

1
damus/Util/Constants.swift

@ -34,6 +34,7 @@ public class Constants {
{"id": 4, "name": "Wallet Of Satoshi", "link": "walletofsatoshi:lightning:", "appStoreLink": "https://apps.apple.com/us/app/wallet-of-satoshi/id1438599608", "image": "walletofsatoshi"},
{"id": 5, "name": "Zebedee", "link": "zebedee:lightning:", "appStoreLink": "https://apps.apple.com/us/app/zebedee-wallet/id1484394401", "image": "zebedee"},
{"id": 6, "name": "Zeus LN", "link": "zeusln:lightning:", "appStoreLink": "https://apps.apple.com/us/app/zeus-ln/id1456038895", "image": "zeusln"},
{"id": 7, "name": "LNLink", "link": "lnlink://", "appStoreLink": "https://testflight.apple.com/join/aNY4yuuZ", "image": "lnlink"},
]
""".data(using: .utf8)!
}

2
damus/Views/SelectWalletView.swift

@ -66,7 +66,7 @@ struct SelectWalletView: View {
.truncationMode(.tail)
}.padding([.bottom], 4)
}.buttonStyle(.plain)
wallet.id != 6 ? Divider().padding([.bottom], -6) : nil
wallet.id != 7 ? Divider().padding([.bottom], -6) : nil
}
} header: {
Text("Select a lightning wallet")

Loading…
Cancel
Save