-
Notifications
You must be signed in to change notification settings - Fork 183
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
[WCM] Using api.web3modal.com #1262
Conversation
a7a8529
to
6ce5888
Compare
@@ -52,6 +53,16 @@ final class SignPresenter: ObservableObject { | |||
Web3Modal.present(from: nil) | |||
} | |||
|
|||
func connectWalletWithWCM() { | |||
Task { | |||
WalletConnectModal.set(sessionParams: .init( |
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.
I do not see async context here, do you need Task?
deeplinkHandler: WalletDeeplinkHandler | ||
) { | ||
self.wallet = wallet | ||
self.deeplinkHandler = deeplinkHandler | ||
preferredPlatform = wallet.app.ios != nil ? .native : .browser | ||
preferredPlatform = wallet.appStore != nil ? .native : .browser | ||
} | ||
|
||
func handle(_ event: Event) { | ||
switch event { | ||
case .onAppear: |
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.
case .onAppear, .didTapUniversalLink, . didTapTryAgain:
// iOS 14 doesn't have extra separators below the list by default. | ||
} else { | ||
// To remove only extra separators below the list: | ||
UITableView.appearance().tableFooterView = UIView() |
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.
Can it affect client's app?
} | ||
|
||
// To remove all separators including the actual ones: | ||
UITableView.appearance().separatorStyle = .none |
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.
same question
6ce5888
to
6bbb9f4
Compare
2eb69cd
to
cbd25b3
Compare
cbd25b3
to
ff313dd
Compare
ff313dd
to
33a036f
Compare
Replaces explorer api with api.web3modal.com. Also includes change to paginate response