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

Unified Diff: ios/chrome/browser/ui/settings/translate_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/translate_collection_view_controller.mm
diff --git a/ios/chrome/browser/ui/settings/translate_collection_view_controller.mm b/ios/chrome/browser/ui/settings/translate_collection_view_controller.mm
index 5784b14504fa03f8c2beddee5ddd32724c87978f..29d62e009c63583364eacb96e206a632353d9033 100644
--- a/ios/chrome/browser/ui/settings/translate_collection_view_controller.mm
+++ b/ios/chrome/browser/ui/settings/translate_collection_view_controller.mm
@@ -229,8 +229,7 @@ NSString* const kTranslateSettingsCategory = @"ChromeTranslateSettings";
_translationItem.get().on = [_translationEnabled value];
// Update the cell.
- [self reconfigureCellsForItems:@[ _translationItem ]
- inSectionWithIdentifier:SectionIdentifierTranslate];
+ [self reconfigureCellsForItems:@[ _translationItem ]];
}
#pragma mark - Actions

Powered by Google App Engine
This is Rietveld 408576698