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

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

Issue 2761263003: Allow CollectionViewModel/Controller queries without SectionIdentifier (Closed)
Patch Set: Cleanup Created 3 years, 8 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/ui/settings/save_passwords_collection_view_controller.mm
diff --git a/ios/chrome/browser/ui/settings/save_passwords_collection_view_controller.mm b/ios/chrome/browser/ui/settings/save_passwords_collection_view_controller.mm
index 200802df22d43a84d64ecfe29a68c315f5f8b09f..742b1c7ba7c18760938259d0b7d1651cc1dcad8f 100644
--- a/ios/chrome/browser/ui/settings/save_passwords_collection_view_controller.mm
+++ b/ios/chrome/browser/ui/settings/save_passwords_collection_view_controller.mm
@@ -395,8 +395,7 @@ void SavePasswordsConsumer::OnGetPasswordStoreResults(
savePasswordsItem_.get().on = [passwordManagerEnabled_ value];
// Update the cell.
- [self reconfigureCellsForItems:@[ savePasswordsItem_ ]
- inSectionWithIdentifier:SectionIdentifierSavePasswordsSwitch];
+ [self reconfigureCellsForItems:@[ savePasswordsItem_ ]];
// Update the rest of the UI.
[self.editor setEditing:NO];

Powered by Google App Engine
This is Rietveld 408576698