mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
improve toast
This commit is contained in:
parent
7bdb543fa4
commit
4960d01fa5
@ -4,6 +4,7 @@
|
||||
* 完善软键盘关闭。
|
||||
* children\_layouter\_list\_view新增animating\_time属性,支持添加和删除item时播放缓动动画(感谢雨欣提供补丁)
|
||||
* text\_selector 增加了 mask\_easing 属性和 mask\_area\_scale 属性 (感谢雨欣提供补丁)
|
||||
* 修改toast的内容为空的时候触发断言的问题 (感谢智明提供补丁)
|
||||
|
||||
2022/09/01
|
||||
* 修复valgrind发现的问题。
|
||||
|
@ -200,7 +200,7 @@ ret_t dialog_toast(const char* text, uint32_t duration) {
|
||||
dialog_toast_t* dialog_toast = dialog_toast_manager();
|
||||
return_value_if_fail(dialog_toast != NULL, RET_OOM);
|
||||
|
||||
ENSURE(dialog_toast_push_message(dialog_toast, text, duration) != NULL);
|
||||
return_value_if_fail(dialog_toast_push_message(dialog_toast, text, duration) != NULL, RET_FAIL);
|
||||
return dialog_toast_model(dialog_toast);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user