1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-31 07:26:09 +00:00

Correctif

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

View file

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