1、修改背景图、应用log

2、修改房间报错
3、添加青少年模式
This commit is contained in:
2025-09-19 17:40:02 +08:00
parent fc544229fe
commit 867435ee90
85 changed files with 662 additions and 163 deletions

View File

@@ -123,6 +123,8 @@ public class SpUtil {
}
/**
* 保存一个布尔值
*/
@@ -251,6 +253,14 @@ public class SpUtil {
SPUtils.getInstance(SPConstants.PREFERENCE_NAME).put("musicVolume", musicVolume, true);
}
public static void setUnderagePassword(String password){
SPUtils.getInstance(SPConstants.PREFERENCE_NAME).put("underagePassword", password, true);
}
public static String getUnderagePassword(){
return SPUtils.getInstance(SPConstants.PREFERENCE_NAME).getString("underagePassword");
}
public static Integer getMusicVolume() {
return SPUtils.getInstance(SPConstants.PREFERENCE_NAME).getInt("musicVolume", 50);
}