| Index: ios/chrome/browser/ui/settings/password_details_collection_view_controller.mm
|
| diff --git a/ios/chrome/browser/ui/settings/password_details_collection_view_controller.mm b/ios/chrome/browser/ui/settings/password_details_collection_view_controller.mm
|
| index 0ab4c0ea05a0d09b3fa6fbe2614b33e209618a65..1abb07fb4497fabceb39c308307a6273a21b81c9 100644
|
| --- a/ios/chrome/browser/ui/settings/password_details_collection_view_controller.mm
|
| +++ b/ios/chrome/browser/ui/settings/password_details_collection_view_controller.mm
|
| @@ -210,8 +210,7 @@ reauthenticationModule:(id<ReauthenticationProtocol>)reauthenticationModule
|
| [model itemAtIndexPath:path]);
|
| item.text = [self showHideButtonText];
|
| item.textColor = [[MDCPalette cr_bluePalette] tint500];
|
| - [self reconfigureCellsForItems:@[ item ]
|
| - inSectionWithIdentifier:SectionIdentifierPassword];
|
| + [self reconfigureCellsForItems:@[ item ]];
|
| [self.collectionView.collectionViewLayout invalidateLayout];
|
| }
|
|
|
| @@ -228,8 +227,7 @@ reauthenticationModule:(id<ReauthenticationProtocol>)reauthenticationModule
|
| return;
|
| PasswordDetailsItem* passwordItem = strongSelf->_passwordItem;
|
| passwordItem.showingText = YES;
|
| - [strongSelf reconfigureCellsForItems:@[ passwordItem ]
|
| - inSectionWithIdentifier:SectionIdentifierPassword];
|
| + [strongSelf reconfigureCellsForItems:@[ passwordItem ]];
|
| [[strongSelf collectionView].collectionViewLayout invalidateLayout];
|
| strongSelf->_plainTextPasswordShown = YES;
|
| [strongSelf toggleShowHideButton];
|
| @@ -247,8 +245,7 @@ reauthenticationModule:(id<ReauthenticationProtocol>)reauthenticationModule
|
| return;
|
| }
|
| _passwordItem.showingText = NO;
|
| - [self reconfigureCellsForItems:@[ _passwordItem ]
|
| - inSectionWithIdentifier:SectionIdentifierPassword];
|
| + [self reconfigureCellsForItems:@[ _passwordItem ]];
|
| [self.collectionView.collectionViewLayout invalidateLayout];
|
| _plainTextPasswordShown = NO;
|
| [self toggleShowHideButton];
|
|
|