diff --git a/Sources/Vues/Resources/Images/collectionwitherlow.png b/Sources/Vues/Resources/Images/collectionwitherlow.png
new file mode 100644
index 0000000..f83dbb6
Binary files /dev/null and b/Sources/Vues/Resources/Images/collectionwitherlow.png differ
diff --git a/Sources/Vues/SearchMob.xaml b/Sources/Vues/SearchMob.xaml
index 78f3b98..d6af5b5 100644
--- a/Sources/Vues/SearchMob.xaml
+++ b/Sources/Vues/SearchMob.xaml
@@ -95,11 +95,6 @@
Grid.Column="5"
IsChecked="True"
CheckedChanged="boss_CheckedChanged"/>
-
diff --git a/Sources/Vues/SearchMob.xaml.cs b/Sources/Vues/SearchMob.xaml.cs
index 6258285..f2a390a 100644
--- a/Sources/Vues/SearchMob.xaml.cs
+++ b/Sources/Vues/SearchMob.xaml.cs
@@ -85,22 +85,19 @@ public partial class SearchMob : ContentPage
{
var button = sender as Button;
var afficherFiltres = button?.Parent?.FindByName("HorizonFilterClicked");
- if (afficherFiltres != null)
+ if (afficherFiltres.IsVisible)
{
- afficherFiltres.IsVisible = true;
- }
-
- }
-
- private void ExitFilter(object sender, EventArgs e) // Enlever les filtres
- {
- var button = sender as Button;
- var afficherFiltres = button?.Parent?.FindByName("HorizonFilterClicked");
- var enleverFiltres = button?.Parent?.FindByName("GridFilter");
- if (enleverFiltres != null)
- {
afficherFiltres.IsVisible = false;
}
+ else
+ {
+ afficherFiltres.IsVisible |= true;
+ }
+ /*
+ if (afficherFiltres != null)
+ {
+ afficherFiltres.IsVisible = true;
+ }*/
}
private void passive_CheckedChanged(object sender, CheckedChangedEventArgs e)