我的设置样式 以及我的智能设备样式修改
This commit is contained in:
@@ -236,9 +236,16 @@ class MhMessageController extends GetControllerEx<MhMessageModel> {
|
||||
if (res.code == HttpStatusCodes.ok) {
|
||||
getMessageList(messageType);
|
||||
getMessageStatus();
|
||||
|
||||
// ✅ 只有在 all 为 true 时才提示
|
||||
if (all) {
|
||||
TopSlideNotification.show(
|
||||
context,
|
||||
text: res.msg!,
|
||||
textColor: Color(0XFF00C1AA),
|
||||
);
|
||||
}
|
||||
}
|
||||
TopSlideNotification.show(context,
|
||||
text: res.msg!, textColor: Color(0XFF00C1AA));
|
||||
},
|
||||
onFailure: (res) {
|
||||
TopSlideNotification.show(context,
|
||||
|
||||
Reference in New Issue
Block a user