Skip to content

Commit

Permalink
style: format code with dotnet-format
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in 779cade according to the output
from dotnet-format.

Details: None
  • Loading branch information
deepsource-autofix[bot] authored and VladislavAntonyuk committed Nov 24, 2023
1 parent 779cade commit 55bcdc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MauiTabView/TabView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public partial class Tab : View
public partial class TabView : VerticalStackLayout
{
[AutoBindable(DefaultValue = "new System.Collections.ObjectModel.ObservableCollection<Tab>()", OnChanged = "OnTabsChanged")]
private ObservableCollection<Tab> tabs = new ();
private ObservableCollection<Tab> tabs = new();

[AutoBindable(DefaultValue = "-1", OnChanged = "OnActiveTabIndexChanged")]
private int activeTabIndex;
Expand Down Expand Up @@ -81,7 +81,7 @@ IView BuildTabs()
}
}
};
tabHeader.Children.Add(new Image() { Source = tab.Icon, HorizontalOptions = LayoutOptions.Center, WidthRequest = 30, HeightRequest = 30});
tabHeader.Children.Add(new Image() { Source = tab.Icon, HorizontalOptions = LayoutOptions.Center, WidthRequest = 30, HeightRequest = 30 });
tabHeader.Children.Add(new Label() { Text = tab.Title, HorizontalOptions = LayoutOptions.Center });
view.Children.Add(tabHeader);
}
Expand Down

0 comments on commit 55bcdc5

Please sign in to comment.