File tree 2 files changed +10
-2
lines changed
src/Acr.UserDialogs.Interface
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 2
2
<package xmlns =" http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" >
3
3
<metadata >
4
4
<id >Acr.UserDialogs</id >
5
- <version >5.2.0 </version >
5
+ <version >5.2.1 </version >
6
6
<title >ACR User Dialogs Plugin for Xamarin and Windows</title >
7
7
<summary >Allows for messagebox style dialogs to be called from your shared/PCL/MVVM code</summary >
8
8
<description >
@@ -65,6 +65,8 @@ Supported Platforms
65
65
</group>-->
66
66
</dependencies >
67
67
<releaseNotes >
68
+ 5.2.1
69
+ [fix] toastposition get/set
68
70
5.2
69
71
[feature] cancellable standard dialogs. use cancellationtokens or disposable pattern from sync versions
70
72
[feature] date/time dialogs
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public class ToastConfig
56
56
/// <summary>
57
57
/// Only applies to iOS at the moment
58
58
/// </summary>
59
- public ToastPosition Position { get ; }
59
+ public ToastPosition Position { get ; set ; }
60
60
public Color BackgroundColor { get ; set ; }
61
61
public IBitmap Icon { get ; set ; }
62
62
public string Title { get ; set ; }
@@ -123,6 +123,12 @@ public ToastConfig SetDuration(TimeSpan duration)
123
123
}
124
124
125
125
126
+ public ToastConfig SetPosition ( ToastPosition position )
127
+ {
128
+ this . Position = position ;
129
+ return this ;
130
+ }
131
+
126
132
public ToastConfig SetIcon ( IBitmap bitmap )
127
133
{
128
134
this . Icon = bitmap ;
You can’t perform that action at this time.
0 commit comments