fix(mmp): 状态条标明调试台可选,避免误解为故障
调试台未连接不参与爆红判定,文案改为可选提示。
This commit is contained in:
@@ -410,11 +410,11 @@ public class MmpClaimActivity extends MiracleGardenActivity<ActivityMmpClaimBind
|
|||||||
|
|
||||||
String debugPart;
|
String debugPart;
|
||||||
if (debugServerOk == null) {
|
if (debugServerOk == null) {
|
||||||
debugPart = "调试台:检测中";
|
debugPart = "调试台:检测中(可选)";
|
||||||
} else if (debugServerOk) {
|
} else if (debugServerOk) {
|
||||||
debugPart = "调试台:已连接";
|
debugPart = "调试台:已连接(可选)";
|
||||||
} else {
|
} else {
|
||||||
debugPart = "调试台:未连接";
|
debugPart = "调试台:未连(可选,不影响领取)";
|
||||||
}
|
}
|
||||||
|
|
||||||
String text = tngPart + " · " + hookPart + "\n"
|
String text = tngPart + " · " + hookPart + "\n"
|
||||||
@@ -422,7 +422,7 @@ public class MmpClaimActivity extends MiracleGardenActivity<ActivityMmpClaimBind
|
|||||||
+ MmpHookStatus.describe(this);
|
+ MmpHookStatus.describe(this);
|
||||||
binding.tvConnStatus.setText(text);
|
binding.tvConnStatus.setText(text);
|
||||||
|
|
||||||
// 红:TNG 挂了 / 无心跳 / 模块明确是旧版;久无新红包数据不爆红
|
// 颜色只看 TNG / Hook 心跳 / 模块版本;调试台可有可无,绝不因此爆红
|
||||||
boolean okAll = tngAlive && hookAlive && modLatest;
|
boolean okAll = tngAlive && hookAlive && modLatest;
|
||||||
boolean bad = !tngAlive || !hookAlive || modKnownOld;
|
boolean bad = !tngAlive || !hookAlive || modKnownOld;
|
||||||
if (okAll) {
|
if (okAll) {
|
||||||
|
|||||||
Reference in New Issue
Block a user