mirror of
http://gitea.winboll.cc/Studio/WinBoLL.git
synced 2026-06-29 12:09:49 +08:00
fix: 调试解锁成功后补全调试状态持久化保存
- 在 GlobalApplication.setIsDebugging(true) 后补充 saveDebugStatus() 调用,确保调试模式状态持久化到本地文件
This commit is contained in:
@@ -335,6 +335,7 @@ public class AboutView extends LinearLayout {
|
||||
String savedToken = DebugSwitchInfoImageView.getDebugToken();
|
||||
if (savedToken != null && savedToken.equals(inputToken)) {
|
||||
GlobalApplication.setIsDebugging(true);
|
||||
GlobalApplication.saveDebugStatus(GlobalApplication.getInstance());
|
||||
Toast.makeText(mContext, "调试解锁成功,重启应用后生效", Toast.LENGTH_SHORT).show();
|
||||
} else {
|
||||
Toast.makeText(mContext, "调试Token不匹配", Toast.LENGTH_SHORT).show();
|
||||
|
||||
Reference in New Issue
Block a user