From 92c7418d26dd278a8d46b5671dedad6ab2ceeaa1 Mon Sep 17 00:00:00 2001 From: zhaoxiyu Date: Thu, 29 May 2025 12:21:50 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=B8=83=E5=B1=80=E6=94=B9=E5=8F=98?= =?UTF-8?q?=E6=97=B6=E4=BC=9A=E8=B0=83=E7=94=A8=E8=AE=BE=E7=BD=AE=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3setValue=EF=BC=8C=E5=8E=8B=E5=8A=9B=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E6=97=B6=E5=87=BA=E7=8E=B0appfreeze?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- product/phone/src/main/ets/pages/EntryView.ets | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/product/phone/src/main/ets/pages/EntryView.ets b/product/phone/src/main/ets/pages/EntryView.ets index e4f581ea..b4cf5b07 100644 --- a/product/phone/src/main/ets/pages/EntryView.ets +++ b/product/phone/src/main/ets/pages/EntryView.ets @@ -154,17 +154,6 @@ struct EntryView { PageDesktopLayout(); } .height(this.workSpaceHeight) - .onAreaChange((oldValue: Area, newValue: Area) => { - Log.showDebug(TAG, `onAreaChange navigationBarStatus: ${this.navigationBarStatus}`); - if (JSON.stringify(oldValue) == JSON.stringify(newValue)) { - return; - } - if (this.navigationBarStatus == '1') { - setTimeout(() => { - SettingsModel.getInstance().setValue(this.navigationBarStatus); - }, 50) - } - }) Column() { SmartDock(); -- Gitee From d3561c115a2d2954cf3fab6ec9a6a32f37dcec0a Mon Sep 17 00:00:00 2001 From: zhaoxiyu Date: Thu, 29 May 2025 14:35:04 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=9B=9E=E9=80=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- product/phone/src/main/ets/pages/EntryView.ets | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/product/phone/src/main/ets/pages/EntryView.ets b/product/phone/src/main/ets/pages/EntryView.ets index b4cf5b07..e4f581ea 100644 --- a/product/phone/src/main/ets/pages/EntryView.ets +++ b/product/phone/src/main/ets/pages/EntryView.ets @@ -154,6 +154,17 @@ struct EntryView { PageDesktopLayout(); } .height(this.workSpaceHeight) + .onAreaChange((oldValue: Area, newValue: Area) => { + Log.showDebug(TAG, `onAreaChange navigationBarStatus: ${this.navigationBarStatus}`); + if (JSON.stringify(oldValue) == JSON.stringify(newValue)) { + return; + } + if (this.navigationBarStatus == '1') { + setTimeout(() => { + SettingsModel.getInstance().setValue(this.navigationBarStatus); + }, 50) + } + }) Column() { SmartDock(); -- Gitee From ee55cab167e2bc4dc8fec944b11f1c303ad1e6c4 Mon Sep 17 00:00:00 2001 From: zhaoxiyu Date: Thu, 29 May 2025 14:36:46 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E5=B8=83=E5=B1=80=E6=94=B9=E5=8F=98?= =?UTF-8?q?=E6=97=B6=E4=BC=9A=E8=B0=83=E7=94=A8=E8=AE=BE=E7=BD=AE=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3setValue=EF=BC=8C=E5=8E=8B=E5=8A=9B=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E6=97=B6=E5=87=BA=E7=8E=B0appfreeze?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhaoxiyu --- product/phone/src/main/ets/pages/EntryView.ets | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/product/phone/src/main/ets/pages/EntryView.ets b/product/phone/src/main/ets/pages/EntryView.ets index e4f581ea..b4cf5b07 100644 --- a/product/phone/src/main/ets/pages/EntryView.ets +++ b/product/phone/src/main/ets/pages/EntryView.ets @@ -154,17 +154,6 @@ struct EntryView { PageDesktopLayout(); } .height(this.workSpaceHeight) - .onAreaChange((oldValue: Area, newValue: Area) => { - Log.showDebug(TAG, `onAreaChange navigationBarStatus: ${this.navigationBarStatus}`); - if (JSON.stringify(oldValue) == JSON.stringify(newValue)) { - return; - } - if (this.navigationBarStatus == '1') { - setTimeout(() => { - SettingsModel.getInstance().setValue(this.navigationBarStatus); - }, 50) - } - }) Column() { SmartDock(); -- Gitee