From 0b97741f7c481b50178ec9ba069f66b9155afb9f Mon Sep 17 00:00:00 2001 From: Anthony RICHARD Date: Thu, 8 Jun 2023 05:13:09 +0200 Subject: [PATCH] fix searchbar --- Sources/Stim/MainPage.xaml | 2 +- Sources/Stim/MainPage.xaml.cs | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Sources/Stim/MainPage.xaml b/Sources/Stim/MainPage.xaml index d26c846..628d27a 100644 --- a/Sources/Stim/MainPage.xaml +++ b/Sources/Stim/MainPage.xaml @@ -20,6 +20,6 @@ - + diff --git a/Sources/Stim/MainPage.xaml.cs b/Sources/Stim/MainPage.xaml.cs index d1fafe8..b6e0a9e 100644 --- a/Sources/Stim/MainPage.xaml.cs +++ b/Sources/Stim/MainPage.xaml.cs @@ -36,9 +36,13 @@ public partial class MainPage : ContentPage BindingContext=((App)App.Current).Manager.FilterGames(GameText, Tag1Text, Tag2Text); } + protected override void OnAppearing() { - SearchBar_GameChanged(null,null); + Game.Text = ""; + Tag1.Text = ""; + Tag2.Text = ""; + SearchBar_GameChanged(null, null); base.OnAppearing(); } }