Skip to content

Commit

Permalink
修复配置死循环bug
Browse files Browse the repository at this point in the history
  • Loading branch information
constanline committed Jul 26, 2023
1 parent c3ccdd7 commit e3558c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ public static String config2Json(Config config) {

jo.put(jn_doubleCard, config.doubleCard);

jo.put(jn_doubleCardTime, Config.doubleCardTime());
jo.put(jn_doubleCardTime, String.join(",", config.doubleCardTime));

jo.put(jn_advanceTime, config.advanceTime);

Expand Down Expand Up @@ -1239,7 +1239,7 @@ public static String config2Json(Config config) {
}
jo.put(jn_feedFriendAnimalList, ja);

jo.put(jn_animalSleepTime, Config.animalSleepTime());
jo.put(jn_animalSleepTime, String.join(",", config.animalSleepTime));

jo.put(jn_notifyFriend, config.notifyFriend);

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-zh-rCN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,6 @@
<string name="collect_watering_bubble">收金球</string>
<string name="use_double_card_time">使用双击卡时间(比如“0000-0100,0700-0730”代表晚上0点到1点,早上7点到7点半,有能量并且没有使用双击卡就会自动使用)</string>
<string name="animal_sleep_time">小鸡睡眠时间(设置方式同双击卡)</string>
<string name="ancient_tree_area_code">古树区划代码</string>
<string name="ancient_tree_area_code">古树区划代码(比如110100是北京市市辖区)</string>

</resources>

0 comments on commit e3558c0

Please sign in to comment.