feat: animation.

This commit is contained in:
Zhang Dian
2024-09-05 18:41:55 +08:00
parent 22fc7f5424
commit f830da7799
3 changed files with 19 additions and 21 deletions

View File

@@ -35,7 +35,8 @@ public class Toast : IToast, INotifyPropertyChanged
{
Content = content;
Type = type;
Expiration = expiration ?? TimeSpan.FromSeconds(5);
Expiration = expiration ?? TimeSpan.FromSeconds(3);
ShowClose = showClose;
OnClick = onClick;
OnClose = onClose;
}