Skip to content

Commit 96044bf

Browse files
committed
修正框架文档的内容
1 parent 5e46832 commit 96044bf

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

HelpDoc-en.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Toaster.init(this, new ToastStrategy() {
2323

2424
@Override
2525
public IToast createToast(IToastStyle<?> style) {
26+
IToast toast = super.createToast(style);
2627
if (toast instanceof CustomToast) {
2728
CustomToast customToast = ((CustomToast) toast);
2829
// Set the toast animation effect

HelpDoc-zh.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ Toaster.init(this, new ToastStrategy() {
3939

4040
@Override
4141
public IToast createToast(IToastStyle<?> style) {
42+
IToast toast = super.createToast(style);
4243
if (toast instanceof CustomToast) {
4344
CustomToast customToast = ((CustomToast) toast);
4445
// 设置 Toast 动画效果

0 commit comments

Comments
 (0)