Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Unified Diff: ios/chrome/browser/payments/shipping_option_selection_view_controller.mm

Issue 2710683012: [Payment Request] Payment request summary view pending state (Closed)
Patch Set: rebase Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/payments/shipping_option_selection_view_controller.mm
diff --git a/ios/chrome/browser/payments/shipping_option_selection_view_controller.mm b/ios/chrome/browser/payments/shipping_option_selection_view_controller.mm
index 2903e44b70f391f1a415e50a79bb971a9b402202..5334944b5d1cdbdfae26130875f63907fd01bf81 100644
--- a/ios/chrome/browser/payments/shipping_option_selection_view_controller.mm
+++ b/ios/chrome/browser/payments/shipping_option_selection_view_controller.mm
@@ -67,7 +67,7 @@ typedef NS_ENUM(NSInteger, ItemType) {
@implementation ShippingOptionSelectionViewController
-@synthesize isLoading = _isLoading;
+@synthesize pending = _pending;
@synthesize errorMessage = _errorMessage;
- (instancetype)initWithPaymentRequest:(PaymentRequest*)paymentRequest {
@@ -110,7 +110,7 @@ typedef NS_ENUM(NSInteger, ItemType) {
[model addSectionWithIdentifier:SectionIdentifierShippingOption];
- if (self.isLoading) {
+ if (self.pending) {
StatusItem* statusItem = [[StatusItem alloc] initWithType:ItemTypeSpinner];
statusItem.text =
l10n_util::GetNSString(IDS_IOS_PAYMENT_REQUEST_CHECKING_LABEL);

Powered by Google App Engine
This is Rietveld 408576698