mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-31 23:45:39 +00:00
Correctif
This commit is contained in:
parent
9acef8cc5c
commit
9be2dac7d6
1 changed files with 6 additions and 3 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue