diff --git a/KoKoViewer/BrowsePage.xaml.cs b/KoKoViewer/BrowsePage.xaml.cs index 3d355a5..ce30294 100644 --- a/KoKoViewer/BrowsePage.xaml.cs +++ b/KoKoViewer/BrowsePage.xaml.cs @@ -56,7 +56,7 @@ private void Image_Tapped(object sender, TappedRoutedEventArgs e) var post = (sender as Image).Tag as KoKo.Post; var newTab = new TabViewItem(); - newTab.IconSource = new SymbolIconSource() { Symbol = Symbol.Document }; + newTab.IconSource = new SymbolIconSource() { Symbol = Symbol.Pictures }; newTab.Header = post.fromSpider.Name + " " + post.id; // The Content of a TabViewItem is often a frame which hosts a page. diff --git a/KoKoViewer/MainPage.xaml.cs b/KoKoViewer/MainPage.xaml.cs index 06e5479..c583aa5 100644 --- a/KoKoViewer/MainPage.xaml.cs +++ b/KoKoViewer/MainPage.xaml.cs @@ -72,7 +72,7 @@ private void CoreTitleBar_LayoutMetricsChanged(CoreApplicationViewTitleBar sende private void NewPage(TabView sender, object args) { var newTab = new TabViewItem(); - newTab.IconSource = new SymbolIconSource() { Symbol = Symbol.Document }; + newTab.IconSource = new SymbolIconSource() { Symbol = Symbol.Find }; newTab.Header = "Search"; // The Content of a TabViewItem is often a frame which hosts a page. diff --git a/KoKoViewer/SearchPage.xaml.cs b/KoKoViewer/SearchPage.xaml.cs index dfa49a2..a04585c 100644 --- a/KoKoViewer/SearchPage.xaml.cs +++ b/KoKoViewer/SearchPage.xaml.cs @@ -15,6 +15,7 @@ using Windows.UI.Xaml.Navigation; using Microsoft.FSharp.Collections; using Microsoft.FSharp.Core; +using SymbolIconSource = Microsoft.UI.Xaml.Controls.SymbolIconSource; // The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238 @@ -73,7 +74,9 @@ private void Search_Click(AutoSuggestBox sender, AutoSuggestBoxQuerySubmittedEve // Search tabViewItem.Header = SearchBox.Text; if (String.IsNullOrWhiteSpace(tabViewItem.Header as string)) - tabViewItem.Header = "Browser"; + tabViewItem.Header = "Browser"; + + tabViewItem.IconSource = new SymbolIconSource() { Symbol = Symbol.BrowsePhotos }; var spiders = new List(); foreach(var checkbox in MainStackPanel.Children)