fix(mmp): 状态条标明调试台可选,避免误解为故障

调试台未连接不参与爆红判定,文案改为可选提示。
This commit is contained in:
mars
2026-08-05 17:18:16 +08:00
parent b3f2b2b3c2
commit abf41b9ab6

View File

@@ -410,11 +410,11 @@ public class MmpClaimActivity extends MiracleGardenActivity<ActivityMmpClaimBind
String debugPart;
if (debugServerOk == null) {
debugPart = "调试台:检测中";
debugPart = "调试台:检测中(可选)";
} else if (debugServerOk) {
debugPart = "调试台:已连接";
debugPart = "调试台:已连接(可选)";
} else {
debugPart = "调试台:未连";
debugPart = "调试台:未连(可选,不影响领取)";
}
String text = tngPart + " · " + hookPart + "\n"
@@ -422,7 +422,7 @@ public class MmpClaimActivity extends MiracleGardenActivity<ActivityMmpClaimBind
+ MmpHookStatus.describe(this);
binding.tvConnStatus.setText(text);
// TNG 挂了 / 无心跳 / 模块明确是旧版;久无新红包数据不爆红
// 颜色只看 TNG / Hook 心跳 / 模块版本;调试台可有可无,绝不因此爆红
boolean okAll = tngAlive && hookAlive && modLatest;
boolean bad = !tngAlive || !hookAlive || modKnownOld;
if (okAll) {