Commit b7eb94cb by Sebastián Katzer

Renamed image to icon

parent d1e647cc
...@@ -104,7 +104,7 @@ namespace LocalNotificationProxy.LocalNotification ...@@ -104,7 +104,7 @@ namespace LocalNotificationProxy.LocalNotification
} }
}, },
AppLogoOverride = this.Content.Image AppLogoOverride = this.Content.Icon
} }
}, },
......
...@@ -101,12 +101,12 @@ ...@@ -101,12 +101,12 @@
/// <summary> /// <summary>
/// Gets a GenericAppLogo object based on the specified icon uri. /// Gets a GenericAppLogo object based on the specified icon uri.
/// </summary> /// </summary>
public ToastGenericAppLogo Image public ToastGenericAppLogo Icon
{ {
get get
{ {
var image = new ToastGenericAppLogo(); var image = new ToastGenericAppLogo();
var path = this.Options.Image; var path = this.Options.Icon;
if (path == null || path.StartsWith("res://logo")) if (path == null || path.StartsWith("res://logo"))
{ {
......
...@@ -58,7 +58,7 @@ namespace LocalNotificationProxy.LocalNotification ...@@ -58,7 +58,7 @@ namespace LocalNotificationProxy.LocalNotification
/// <summary> /// <summary>
/// Gets or sets the notification image. /// Gets or sets the notification image.
/// </summary> /// </summary>
public string Image { get; set; } public string Icon { get; set; }
/// <summary> /// <summary>
/// Gets or sets a value indicating whether the popup shall be visible. /// Gets or sets a value indicating whether the popup shall be visible.
...@@ -123,7 +123,7 @@ namespace LocalNotificationProxy.LocalNotification ...@@ -123,7 +123,7 @@ namespace LocalNotificationProxy.LocalNotification
if (node.GetAttributeNode("image") != null) if (node.GetAttributeNode("image") != null)
{ {
options.Image = node.GetAttribute("image"); options.Icon = node.GetAttribute("image");
} }
if (node.GetAttributeNode("data") != null) if (node.GetAttributeNode("data") != null)
...@@ -185,9 +185,9 @@ namespace LocalNotificationProxy.LocalNotification ...@@ -185,9 +185,9 @@ namespace LocalNotificationProxy.LocalNotification
node.SetAttribute("sound", this.Sound); 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) 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