From 9c4113bb16da5f4a618c3ed7adde115948c82c37 Mon Sep 17 00:00:00 2001 From: 26thE <962961353@qq.com> Date: Sat, 14 Jun 2025 14:39:53 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- liveviewlockscreenlibrary/consumer-rules.txt | 0 .../src/main/resources/en_US/element/string.json | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 liveviewlockscreenlibrary/consumer-rules.txt diff --git a/liveviewlockscreenlibrary/consumer-rules.txt b/liveviewlockscreenlibrary/consumer-rules.txt new file mode 100644 index 0000000..e69de29 diff --git a/liveviewlockscreenlibrary/src/main/resources/en_US/element/string.json b/liveviewlockscreenlibrary/src/main/resources/en_US/element/string.json index 6c50a7a..2e470b4 100644 --- a/liveviewlockscreenlibrary/src/main/resources/en_US/element/string.json +++ b/liveviewlockscreenlibrary/src/main/resources/en_US/element/string.json @@ -62,7 +62,7 @@ }, { "name": "live_view_primary_title_second", - "value": " meters" + "value": " m" }, { "name": "road_name", -- Gitee From 1dec344825ff796aa438c4f8cdb3412d703b9261 Mon Sep 17 00:00:00 2001 From: 26thE <962961353@qq.com> Date: Sat, 14 Jun 2025 15:08:16 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/ets/utils/BreakpointSystem.ets | 2 ++ 1 file changed, 2 insertions(+) diff --git a/liveviewlockscreenlibrary/src/main/ets/utils/BreakpointSystem.ets b/liveviewlockscreenlibrary/src/main/ets/utils/BreakpointSystem.ets index 8ca8daa..52db322 100644 --- a/liveviewlockscreenlibrary/src/main/ets/utils/BreakpointSystem.ets +++ b/liveviewlockscreenlibrary/src/main/ets/utils/BreakpointSystem.ets @@ -73,6 +73,8 @@ export class BreakpointSystem { private currentHeightBreakpoint: BreakpointTypeEnum = BreakpointTypeEnum.LG; private constructor() { + AppStorage.setOrCreate('currentWidthBreakpoint', this.currentWidthBreakpoint); + AppStorage.setOrCreate('currentHeightBreakpoint', this.currentHeightBreakpoint); } public static getInstance(): BreakpointSystem { -- Gitee