[Party Room] 房间类型相关

This commit is contained in:
2024-01-07 18:52:06 +08:00
parent 7240878148
commit ab6e660ea0
9 changed files with 603 additions and 7 deletions

View File

@ -74,7 +74,12 @@ class BaseUIModel extends ChangeNotifier {
notifyListeners();
return null;
}
if (!noAlert) showToast(context!, errorOverride ?? errorMsg);
if (!noAlert) {
showToast(context!, errorOverride ?? errorMsg,
constraints: BoxConstraints(
maxWidth: MediaQuery.of(context!).size.width * .6,
),title: "出现错误!");
}
}
return null;
}