Commit b7eb94cb by Sebastián Katzer

Renamed image to icon

parent d1e647cc
......@@ -104,7 +104,7 @@ namespace LocalNotificationProxy.LocalNotification
}
},
AppLogoOverride = this.Content.Image
AppLogoOverride = this.Content.Icon
}
},
......
......@@ -101,12 +101,12 @@
/// <summary>
/// Gets a GenericAppLogo object based on the specified icon uri.
/// </summary>
public ToastGenericAppLogo Image
public ToastGenericAppLogo Icon
{
get
{
var image = new ToastGenericAppLogo();
var path = this.Options.Image;
var path = this.Options.Icon;
if (path == null || path.StartsWith("res://logo"))
{
......
......@@ -58,7 +58,7 @@ namespace LocalNotificationProxy.LocalNotification
/// <summary>
/// Gets or sets the notification image.
/// </summary>
public string Image { get; set; }
public string Icon { get; set; }
/// <summary>
/// Gets or sets a value indicating whether the popup shall be visible.
......@@ -123,7 +123,7 @@ namespace LocalNotificationProxy.LocalNotification
if (node.GetAttributeNode("image") != null)
{
options.Image = node.GetAttribute("image");
options.Icon = node.GetAttribute("image");
}
if (node.GetAttributeNode("data") != null)
......@@ -185,9 +185,9 @@ namespace LocalNotificationProxy.LocalNotification
node.SetAttribute("sound", this.Sound);
}
if (this.Image != null)
if (this.Icon != null)
{
node.SetAttribute("image", this.Image);
node.SetAttribute("image", this.Icon);
}
if (this.Data != null)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment