Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Code Review ♻
Browse files Browse the repository at this point in the history
  • Loading branch information
felipebaltazar committed Nov 30, 2019
1 parent 2f900ed commit 8249fed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ public ContentPage AddTopTab(string title, string icon = null)

public void AddTopTab(ContentPage page, string title = null, string icon = null)
{
if(Items.Count == 0 || Items[0].Items.Count == 0)
if (Items.Count == 0)
{
var item = AddContentPage(page);
item.Items[0].Items[0].Title = title ?? page.Title;
Expand Down

0 comments on commit 8249fed

Please sign in to comment.