mirror of
http://gitea.winboll.cc/Studio/WinBoLL.git
synced 2026-06-30 01:42:24 +08:00
fix: 调试解锁成功后补全调试状态持久化保存
- 在 GlobalApplication.setIsDebugging(true) 后补充 saveDebugStatus() 调用,确保调试模式状态持久化到本地文件
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Sat May 23 21:44:25 HKT 2026
|
||||
#Sat May 23 21:57:17 HKT 2026
|
||||
stageCount=21
|
||||
libraryProject=libappbase
|
||||
baseVersion=15.20
|
||||
publishVersion=15.20.20
|
||||
buildCount=15
|
||||
buildCount=16
|
||||
baseBetaVersion=15.20.21
|
||||
|
||||
@@ -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