Commit bba0e669 authored by bzanotti's avatar bzanotti Committed by Commit bot

[Signin iOS] Reload the Account Selector screen when identities change

The model was already being reloaded but not the the collection view,
this could cause crashes as the collection view and its model were not
in sync anymore. The collection view is now reloaded as well.

BUG=680098

Review-Url: https://codereview.chromium.org/2622103005
Cr-Commit-Position: refs/heads/master@{#443243}
parent 73e78aa8
......@@ -256,6 +256,7 @@ typedef NS_ENUM(NSInteger, ItemType) {
- (void)onIdentityListChanged {
ChromeIdentity* selectedIdentity = [self selectedIdentity];
[self loadModel];
[self.collectionView reloadData];
// Reselect the identity.
if (!selectedIdentity) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment