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

Unified Diff: ios/chrome/browser/ui/settings/content_settings_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/content_settings_collection_view_controller.mm
diff --git a/ios/chrome/browser/ui/settings/content_settings_collection_view_controller.mm b/ios/chrome/browser/ui/settings/content_settings_collection_view_controller.mm
index 0cea59e52a91022e94474368f22608ab30150c05..9f6ece6fef6f8f750012599bdc69ebbbe1f08d6e 100644
--- a/ios/chrome/browser/ui/settings/content_settings_collection_view_controller.mm
+++ b/ios/chrome/browser/ui/settings/content_settings_collection_view_controller.mm
@@ -185,8 +185,7 @@ typedef NS_ENUM(NSInteger, ItemType) {
NSString* subtitle = enabled ? l10n_util::GetNSString(IDS_IOS_SETTING_ON)
: l10n_util::GetNSString(IDS_IOS_SETTING_OFF);
_translateDetailItem.detailText = subtitle;
- [self reconfigureCellsForItems:@[ _translateDetailItem ]
- inSectionWithIdentifier:SectionIdentifierSettings];
+ [self reconfigureCellsForItems:@[ _translateDetailItem ]];
}
}
@@ -202,8 +201,7 @@ typedef NS_ENUM(NSInteger, ItemType) {
_blockPopupsDetailItem.detailText = subtitle;
// Update the cell.
- [self reconfigureCellsForItems:@[ _blockPopupsDetailItem ]
- inSectionWithIdentifier:SectionIdentifierSettings];
+ [self reconfigureCellsForItems:@[ _blockPopupsDetailItem ]];
}
@end

Powered by Google App Engine
This is Rietveld 408576698