1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-31 23:45:39 +00:00

Correctif

This commit is contained in:
Yan Maniez 2018-08-29 22:30:11 +02:00
parent 9acef8cc5c
commit 9be2dac7d6

View file

@ -51,12 +51,15 @@ namespace AideDeJeu.ViewModels
} }
public List<Item> GetBookmarkCollection(string key) public List<Item> GetBookmarkCollection(string key)
{
if (App.Current.Properties.ContainsKey(key))
{ {
var property = App.Current.Properties[key] as string; var property = App.Current.Properties[key] as string;
if (property != null) if (property != null)
{ {
return ToItems(property); return ToItems(property);
} }
}
return null; return null;
} }
public void LoadBookmarkCollection(string key) public void LoadBookmarkCollection(string key)