Skip to content

Commit

Permalink
Bug-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
isHarryh committed Jan 14, 2024
1 parent 5ccaaf3 commit f2683f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assets/UI/Main.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* At GPL-3.0 License
*/

/* JavaFX CSS Reference Guide: https://openjfx.cn/javadoc/18/javafx.graphics/javafx/scene/doc-files/cssref.html */
/* JavaFX CSS Reference Guide: https://openjfx.cn/javadoc/17/javafx.graphics/javafx/scene/doc-files/cssref.html */
/* JFoenix Wiki: https://github.com/sshahine/JFoenix/wiki */

/*******************************************************************************
Expand Down
5 changes: 2 additions & 3 deletions desktop/src/cn/harryh/arkpets/controllers/Homepage.java
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,7 @@ public void initialize() {
wrapper0.setVisible(true);
popLoading(e -> {
config = Objects.requireNonNull(ArkConfig.getConfig(), "ArkConfig returns a null instance, please check the config file.");
if (config.isAllPhysicConfigZeroed())
isNewcomer = config.isNewcomer();
isNewcomer = config.isNewcomer();
initMenuBtn(menuBtn1, 1);
initMenuBtn(menuBtn2, 2);
initMenuBtn(menuBtn3, 3);
Expand Down Expand Up @@ -946,7 +945,7 @@ public String getTitle() {

@Override
public String getHeader() {
return "如需关闭桌宠,请右键系统托盘图标后选择退出。";
return "如需关闭桌宠,请右键单击桌宠或系统托盘图标,然后选择退出。";
}

@Override
Expand Down

0 comments on commit f2683f9

Please sign in to comment.