Commit 97b5c60b by Sebastián Katzer

Rename class LocalNotificationOptions to Options (WP8)

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