Commit 97b5c60b by Sebastián Katzer

Rename class LocalNotificationOptions to Options (WP8)

parent 7a6e7996
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
</config-file> </config-file>
<source-file src="src/wp8/LocalNotification.cs" /> <source-file src="src/wp8/LocalNotification.cs" />
<source-file src="src/wp8/LocalNotificationOptions.cs" /> <source-file src="src/wp8/Options.cs" />
</platform> </platform>
</plugin> </plugin>
...@@ -43,8 +43,8 @@ namespace Cordova.Extension.Commands ...@@ -43,8 +43,8 @@ namespace Cordova.Extension.Commands
/// </summary> /// </summary>
public void add(string jsonArgs) public void add(string jsonArgs)
{ {
string[] args = JsonHelper.Deserialize<string[]>(jsonArgs); string[] args = JsonHelper.Deserialize<string[]>(jsonArgs);
LocalNotificationOptions options = JsonHelper.Deserialize<LocalNotificationOptions>(args[0]); Options options = JsonHelper.Deserialize<Options>(args[0]);
// Application Tile is always the first Tile, even if it is not pinned to Start. // Application Tile is always the first Tile, even if it is not pinned to Start.
ShellTile AppTile = ShellTile.ActiveTiles.First(); ShellTile AppTile = ShellTile.ActiveTiles.First();
...@@ -108,7 +108,7 @@ namespace Cordova.Extension.Commands ...@@ -108,7 +108,7 @@ namespace Cordova.Extension.Commands
/// <summary> /// <summary>
/// Creates tile data /// Creates tile data
/// </summary> /// </summary>
private FlipTileData CreateTileData(LocalNotificationOptions options) private FlipTileData CreateTileData(Options options)
{ {
FlipTileData tile = new FlipTileData(); FlipTileData tile = new FlipTileData();
......
...@@ -29,7 +29,7 @@ namespace De.APPPlant.Cordova.Plugin.LocalNotification ...@@ -29,7 +29,7 @@ namespace De.APPPlant.Cordova.Plugin.LocalNotification
/// Represents LiveTile options /// Represents LiveTile options
/// </summary> /// </summary>
[DataContract] [DataContract]
class LocalNotificationOptions class Options
{ {
/// <summary> /// <summary>
/// The Title that is displayed /// The Title that is displayed
......
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