fix:update conversation reminders

This commit is contained in:
SL 2024-08-18 19:41:55 +08:00
parent cff9e73caf
commit 8661615227
2 changed files with 1 additions and 2 deletions

View File

@ -7,7 +7,7 @@ class UIConversation {
String channelName = '';
WKUIConversationMsg msg;
UIConversation(this.msg);
List<WKReminder>? reminders = [];
List<WKReminder>? reminders;
String getUnreadCount() {
if (msg.unreadCount > 0) {
return '${msg.unreadCount}';

View File

@ -150,7 +150,6 @@ class ListViewShowDataState extends State<ListViewShowData> {
String content = "";
if (uiConversation.reminders == null) {
uiConversation.msg.getReminderList().then((value) {
Logs.debug('执行体系');
uiConversation.reminders = value;
setState(() {});
});