mirror of
https://github.com/WuKongIM/WuKongIMFlutterSDK
synced 2025-05-29 15:12:20 +00:00
fix:update conversation reminders
This commit is contained in:
parent
cff9e73caf
commit
8661615227
@ -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}';
|
||||
|
@ -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(() {});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user