Skip to content

Commit

Permalink
chore: address github pr check warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaoy312 committed Aug 21, 2023
1 parent 236cbe2 commit f3454ff
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ private void ShellNavigateTo(Sample sample, bool trySynchronizeCurrentItem)
}
}


private Shell BuildShell()
{
_shell = new Shell();
Expand Down Expand Up @@ -156,8 +155,6 @@ private void AddNavigationItems(MUXC.NavigationView nv)

foreach (var category in categories.OrderBy(x => x.Key))
{
var tier = 1;

var parentItem = default(MUXC.NavigationViewItem);
if (category.Key != SampleCategory.None)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,12 @@ protected override async void OnLaunched(XamlLaunchActivatedEventArgs e)
var splash = new ExtendedSplashScreen
{
Window = _window,
#if !HAS_UNO
#if IS_WINUI
SplashScreen = e.UWPLaunchActivatedEventArgs.SplashScreen,
#else
SplashScreen = e.SplashScreen,
#endif
#endif
Source = loadable
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ namespace Uno.Toolkit.Samples.Content.Controls
[SamplePage(SampleCategory.Controls, nameof(NavigationBar))]
public sealed partial class NavigationBarSamplePage : Page
{
private Frame _modalFrame;
private Frame _modalFrameM3;

public NavigationBarSamplePage()
{
this.InitializeComponent();
Expand Down

0 comments on commit f3454ff

Please sign in to comment.