Skip to content

Commit 2ec6bc4

Browse files
authored
Merge pull request #4 from reahaas/Fix-dismiss-null-error
Add Prepare call before Dismiss - Fix issue #3
2 parents bfe1b16 + 753a325 commit 2ec6bc4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Assets/Toast UI/Scripts/Toast.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ public static void Show (string text, float duration, Color color, ToastPosition
110110

111111

112112
public static void Dismiss () {
113+
Prepare () ;
113114
toastUI.Dismiss () ;
114115
}
115116

0 commit comments

Comments
 (0)