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

[Signin iOS] Handle unnamed account in Account Settings screen.

The account full name might not have been fetched yet. Show the user
email in the meantime.

BUG=656994

Review-Url: https://codereview.chromium.org/2628313003
Cr-Commit-Position: refs/heads/master@{#443560}
parent ea731792
......@@ -186,8 +186,7 @@ typedef NS_ENUM(NSInteger, ItemType) {
if (authenticatedIdentity) {
title = [authenticatedIdentity userFullName];
if (!title) {
// TODO(crbug.com/656994): Figure how to handle unnamed account.
title = @"Unnamed account";
title = [authenticatedIdentity userEmail];
}
}
self.title = title;
......
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