Skip to content

Commit

Permalink
Add requiresMainQueueSetup to silence warning
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyasthiagaraj committed Oct 22, 2019
1 parent 6f10067 commit 8084cc9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions BlockstackSDK/ios/RNBlockstackSdk/RNBlockstackSdk.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ class RNBlockstackSdk: NSObject {
private var config: [String: Any]?
private var isLoaded = false

@objc static func requiresMainQueueSetup() -> Bool {
return true
}

@objc public func isUserSignedIn(_ resolve: RCTPromiseResolveBlock, reject: RCTPromiseRejectBlock) {
resolve(["signedIn": Blockstack.shared.isUserSignedIn()])
}
Expand Down

0 comments on commit 8084cc9

Please sign in to comment.