mirror of
https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin.git
synced 2025-04-20 17:06:53 +08:00
#4 Upgrading the JS API to prepare for custom options (no additional options yet, this is a change to make that possible in the future)
This commit is contained in:
parent
6d4c052a12
commit
3e65a71ce6
@ -1,3 +1,4 @@
|
|||||||
|
using System;
|
||||||
using System.Runtime.Serialization;
|
using System.Runtime.Serialization;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
@ -48,7 +49,7 @@ namespace WPCordovaClassLib.Cordova.Commands
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
toastOptions = JsonHelper.Deserialize<ToastOptions>(jsonOptions);
|
toastOptions = JSON.JsonHelper.Deserialize<ToastOptions>(jsonOptions);
|
||||||
}
|
}
|
||||||
catch (Exception)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user