From ca1850fe8a28fd138615a04f9da3e7e6d0d508d1 Mon Sep 17 00:00:00 2001 From: ZhanGSKen Date: Wed, 3 Dec 2025 19:31:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=BE=E7=BD=AE=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E5=90=8E=E8=83=8C=E6=99=AF=E5=9B=BE=E7=89=87=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E4=B8=A2=E5=A4=B1=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- powerbell/build.properties | 4 ++-- .../winboll/studio/powerbell/fragments/MainViewFragment.java | 1 + .../winboll/studio/powerbell/utils/BackgroundSourceUtils.java | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/powerbell/build.properties b/powerbell/build.properties index c39ec2ca..67353b5c 100644 --- a/powerbell/build.properties +++ b/powerbell/build.properties @@ -1,8 +1,8 @@ #Created by .winboll/winboll_app_build.gradle -#Wed Dec 03 10:59:39 GMT 2025 +#Wed Dec 03 11:30:35 GMT 2025 stageCount=13 libraryProject= baseVersion=15.11 publishVersion=15.11.12 -buildCount=129 +buildCount=131 baseBetaVersion=15.11.13 diff --git a/powerbell/src/main/java/cc/winboll/studio/powerbell/fragments/MainViewFragment.java b/powerbell/src/main/java/cc/winboll/studio/powerbell/fragments/MainViewFragment.java index fe764fb5..903bfdb0 100644 --- a/powerbell/src/main/java/cc/winboll/studio/powerbell/fragments/MainViewFragment.java +++ b/powerbell/src/main/java/cc/winboll/studio/powerbell/fragments/MainViewFragment.java @@ -322,6 +322,7 @@ public class MainViewFragment extends Fragment { public void reloadBackground() { BackgroundSourceUtils utils = BackgroundSourceUtils.getInstance(getActivity()); + mBgSourceUtils.loadSettings(); BackgroundBean bean = utils.getCurrentBackgroundBean(); mBackgroundView.loadBackground(bean); } diff --git a/powerbell/src/main/java/cc/winboll/studio/powerbell/utils/BackgroundSourceUtils.java b/powerbell/src/main/java/cc/winboll/studio/powerbell/utils/BackgroundSourceUtils.java index 37a3ad53..0fc36547 100644 --- a/powerbell/src/main/java/cc/winboll/studio/powerbell/utils/BackgroundSourceUtils.java +++ b/powerbell/src/main/java/cc/winboll/studio/powerbell/utils/BackgroundSourceUtils.java @@ -314,7 +314,7 @@ public class BackgroundSourceUtils { /** * 加载背景图片配置数据(核心:确保current/preview是两份独立的BackgroundBean实例) */ - void loadSettings() { + public void loadSettings() { // 1. 加载正式Bean(独立实例:从currentBackgroundBean.json加载,不存在则新建) currentBackgroundBean = BackgroundBean.loadBeanFromFile(currentBackgroundBeanFile.getAbsolutePath(), BackgroundBean.class); if (currentBackgroundBean == null) {