浏览代码

1.首页消息只提示自定义消息

王鹏鹏 1 年之前
父节点
当前提交
767cea7449
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      push/src/main/java/com/yingyang/push/activity/PushViewModel.kt

+ 1 - 1
push/src/main/java/com/yingyang/push/activity/PushViewModel.kt

@@ -45,7 +45,7 @@ class PushViewModel : BaseViewModel() {
         msgId: String,
         fail: ((msg: String) -> Unit)? = null,
         success: ((success: Unit?) -> Unit)? = null,
-    ) = launchFlow(true) {
+    ) = launchFlow(false) {
         PUSH_API.updateReadMsg(msgId)
     }.runUI(
         success,