fix searchbar

Popup_qui_marche_pas
Anthony RICHARD 2 years ago
parent b414cd9a92
commit 0b97741f7c

@ -20,6 +20,6 @@
<CollectionView ItemsSource="{Binding}" SelectionMode="Single" SelectionChanged="OnClickGameList" ItemsLayout="VerticalGrid, 5" Grid.Column="1" Grid.Row="1" ItemTemplate="{StaticResource gameTemplate}"/>
</Grid>
</ScrollView>
<ImageButton Style="{StaticResource addButton}" Clicked="GoToAddGamePage"/>
<ImageButton Style="{StaticResource addButton}" Clicked="Addgame"/>
</Grid>
</ContentPage>

@ -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();
}
}

Loading…
Cancel
Save