Skip to content

Commit

Permalink
fixed scan QR
Browse files Browse the repository at this point in the history
  • Loading branch information
kcw-grunt committed Sep 27, 2022
1 parent 9617154 commit c55c58c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions loafwallet.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -4827,7 +4827,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = loafwallet/loafwallet.entitlements;
CURRENT_PROJECT_VERSION = 153;
CURRENT_PROJECT_VERSION = 201;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = ZV7987N2ZC;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
Expand Down Expand Up @@ -5247,7 +5247,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = loafwallet/loafwallet.entitlements;
CURRENT_PROJECT_VERSION = 153;
CURRENT_PROJECT_VERSION = 201;
DEVELOPMENT_TEAM = ZV7987N2ZC;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
FRAMEWORK_SEARCH_PATHS = (
Expand Down Expand Up @@ -5379,7 +5379,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = loafwallet/loafwallet.entitlements;
CURRENT_PROJECT_VERSION = 153;
CURRENT_PROJECT_VERSION = 201;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = ZV7987N2ZC;
FRAMEWORK_SEARCH_PATHS = (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,13 @@ class SendViewController : UIViewController, Subscriber, ModalPresentable, Track

@objc private func scanTapped() {
descriptionCell.textView.resignFirstResponder()

presentScan? { [weak self] paymentRequest in

guard let request = paymentRequest else { return }
guard let destinationAddress = paymentRequest?.toAddress else { return }

self?.sendAddressCell.rootView.viewModel.addressString = destinationAddress
self?.handleRequest(request)
}
}
Expand Down Expand Up @@ -332,6 +337,7 @@ class SendViewController : UIViewController, Subscriber, ModalPresentable, Track
if request.label != nil {
descriptionCell.content = request.label
}

case .remote:
let loadingView = BRActivityViewController(message: S.Send.loadingRequest)
present(loadingView, animated: true, completion: nil)
Expand Down

0 comments on commit c55c58c

Please sign in to comment.