Skip to content

Commit

Permalink
Fix title of the VPN detailed view in Ash system menu
Browse files Browse the repository at this point in the history
Title for the VPN detailed view should be "Private Network". Currently,
it wrongly shows "Network".

BUG=663459

Review-Url: https://codereview.chromium.org/2503783002
Cr-Commit-Position: refs/heads/master@{#432671}
  • Loading branch information
mohsen authored and Commit bot committed Nov 17, 2016
1 parent 020cc92 commit ccd958a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,9 @@ void NetworkStateListDetailedView::Init() {
CreateScrollableList();
if (!UseMd())
CreateNetworkExtra();
CreateTitleRow(IDS_ASH_STATUS_TRAY_NETWORK);
CreateTitleRow(list_type_ == ListType::LIST_TYPE_NETWORK
? IDS_ASH_STATUS_TRAY_NETWORK
: IDS_ASH_STATUS_TRAY_VPN);

network_list_view_->set_container(scroll_content());
Update();
Expand Down

0 comments on commit ccd958a

Please sign in to comment.