mirror of
https://github.com/WuKongIM/WuKongIMFlutterSDK
synced 2025-05-30 07:27:25 +00:00
fix:update conversation reminders
This commit is contained in:
parent
cff9e73caf
commit
8661615227
@ -7,7 +7,7 @@ class UIConversation {
|
|||||||
String channelName = '';
|
String channelName = '';
|
||||||
WKUIConversationMsg msg;
|
WKUIConversationMsg msg;
|
||||||
UIConversation(this.msg);
|
UIConversation(this.msg);
|
||||||
List<WKReminder>? reminders = [];
|
List<WKReminder>? reminders;
|
||||||
String getUnreadCount() {
|
String getUnreadCount() {
|
||||||
if (msg.unreadCount > 0) {
|
if (msg.unreadCount > 0) {
|
||||||
return '${msg.unreadCount}';
|
return '${msg.unreadCount}';
|
||||||
|
@ -150,7 +150,6 @@ class ListViewShowDataState extends State<ListViewShowData> {
|
|||||||
String content = "";
|
String content = "";
|
||||||
if (uiConversation.reminders == null) {
|
if (uiConversation.reminders == null) {
|
||||||
uiConversation.msg.getReminderList().then((value) {
|
uiConversation.msg.getReminderList().then((value) {
|
||||||
Logs.debug('执行体系');
|
|
||||||
uiConversation.reminders = value;
|
uiConversation.reminders = value;
|
||||||
setState(() {});
|
setState(() {});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user