From e3864138492d1d3280710a1ba7162d9dd7542404 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期五, 28 八月 2020 18:22:16 +0800
Subject: [PATCH] 1. 新增问题和删除修改功能(调试中) 2. 轨迹记录功能开放为所有类型的场景都记录
---
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