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

Unified Diff: ios/chrome/browser/ui/settings/material_cell_catalog_view_controller.mm

Issue 2744823003: [Payment Request] Generic edit form (Closed)
Patch Set: rebase Created 3 years, 9 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
« no previous file with comments | « ios/chrome/browser/ui/settings/cells/autofill_edit_item.mm ('k') | ios/showcase/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/settings/material_cell_catalog_view_controller.mm
diff --git a/ios/chrome/browser/ui/settings/material_cell_catalog_view_controller.mm b/ios/chrome/browser/ui/settings/material_cell_catalog_view_controller.mm
index 191843020707d8f56299da6e783e83fa9b38a1ac..ad7ddf797d7f8dfb60de06ec8967cdf25a331c62 100644
--- a/ios/chrome/browser/ui/settings/material_cell_catalog_view_controller.mm
+++ b/ios/chrome/browser/ui/settings/material_cell_catalog_view_controller.mm
@@ -577,16 +577,17 @@ const CGFloat kHorizontalImageFixedSize = 40;
- (CollectionViewItem*)autofillEditItem {
AutofillEditItem* item = [[[AutofillEditItem alloc]
initWithType:ItemTypeAutofillDynamicHeight] autorelease];
- item.textFieldName = @"Credit Number";
+ item.textFieldName = @"Required Card Number";
item.textFieldValue = @"4111111111111111";
item.textFieldEnabled = YES;
+ item.required = YES;
return item;
}
- (CollectionViewItem*)autofillEditItemWithIcon {
AutofillEditItem* item = [[[AutofillEditItem alloc]
initWithType:ItemTypeAutofillDynamicHeight] autorelease];
- item.textFieldName = @"Credit Number";
+ item.textFieldName = @"Card Number";
item.textFieldValue = @"4111111111111111";
item.textFieldEnabled = YES;
int resourceID =
« no previous file with comments | « ios/chrome/browser/ui/settings/cells/autofill_edit_item.mm ('k') | ios/showcase/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698