Skip to content

Commit

Permalink
修复进入设置闪退的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
constanline committed Sep 22, 2023
1 parent e27de7c commit 59413b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
minSdk 21
//noinspection ExpiredTargetSdkVersion
targetSdk 29
versionCode 66
versionCode 67
versionName "1.2.1"
}
buildTypes {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static void start() {
public void run() {
try {
while (FriendIdMap.currentUid == null || FriendIdMap.currentUid.isEmpty())
Thread.sleep(100);
Thread.sleep(101);
ancientTree(Config.getAncientTreeCityCodeList()); // 二次检查 有时会返回繁忙漏保护
} catch (Throwable t) {
Log.i(TAG, "start.run err:");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ private void initSwitch() {
sw_userPatrol = findViewById(R.id.sw_userPatrol);
sw_animalConsumeProp = findViewById(R.id.sw_animalConsumeProp);
sw_collectGiftBox = findViewById(R.id.sw_collectGiftBox);
sw_totalCertCount = findViewById(R.id.sw_totalCertCount);

sw_enableStall = findViewById(R.id.sw_enableStall);
sw_stallAutoClose = findViewById(R.id.sw_stallAutoClose);
Expand Down

0 comments on commit 59413b3

Please sign in to comment.