From 5771916ffb24807dd57c1969baa6371611c334da Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期六, 10 十月 2020 16:45:48 +0800
Subject: [PATCH] Merge remote-tracking branch 'supervision/master'
---
app/src/main/java/cn/flightfeather/thirdapp/module/inspection/MenuRecheckActivity.kt | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/app/src/main/java/cn/flightfeather/thirdapp/module/inspection/MenuRecheckActivity.kt b/app/src/main/java/cn/flightfeather/thirdapp/module/inspection/MenuRecheckActivity.kt
index a3bac18..61c9f9a 100644
--- a/app/src/main/java/cn/flightfeather/thirdapp/module/inspection/MenuRecheckActivity.kt
+++ b/app/src/main/java/cn/flightfeather/thirdapp/module/inspection/MenuRecheckActivity.kt
@@ -28,8 +28,6 @@
var totalProblemCount = 0
override fun onCreate(savedInstanceState: Bundle?) {
- EventBus.getDefault().register(this)
-
super.onCreate(savedInstanceState)
viewModel.subTaskPack.observe(this, Observer {
@@ -71,7 +69,7 @@
@Subscribe(threadMode = ThreadMode.BACKGROUND)
fun onUpdateRecheck(problemEvent: ProblemEvent) {
- if (problemEvent.type == InspectionFragment.PROBLEM_RECHECK) {
+ if (problemEvent.type == InspectionDetailActivity.PROBLEM_RECHECK) {
inspection?.apply {
recheckcount = recheckcount?.plus(1) ?: 1
--
Gitblit v1.9.3