Fix SendViewController `viewDidLoad`
This commit is contained in:
parent
a0d02c4d57
commit
c0f1aa959a
|
@ -33,13 +33,13 @@ class SendViewController: UIViewController {
|
|||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
synchronizer = AppDelegate.shared.sharedSynchronizer
|
||||
let tapRecognizer = UITapGestureRecognizer(target: self, action: #selector(viewTapped(_:)))
|
||||
self.view.addGestureRecognizer(tapRecognizer)
|
||||
setUp()
|
||||
Task { @MainActor in
|
||||
// swiftlint:disable:next force_try
|
||||
try! await synchronizer.prepare()
|
||||
}
|
||||
let tapRecognizer = UITapGestureRecognizer(target: self, action: #selector(viewTapped(_:)))
|
||||
self.view.addGestureRecognizer(tapRecognizer)
|
||||
setUp()
|
||||
}
|
||||
|
||||
override func viewDidAppear(_ animated: Bool) {
|
||||
|
|
|
@ -501,7 +501,7 @@ public actor CompactBlockProcessor {
|
|||
notifyError(CompactBlockProcessorError.maxAttemptsReached(attempts: self.maxAttempts))
|
||||
case .downloading, .validating, .scanning, .enhancing, .fetching:
|
||||
LoggerProxy.debug("Warning: compact block processor was started while busy!!!!")
|
||||
self.needsToStartScanningWhenStopped = true
|
||||
self.`needsToStartScanningWhenStopped` = true
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue