From fa01b7c6dd66a0b7e2823551254b23ae30aba608 Mon Sep 17 00:00:00 2001 From: z00378708 Date: Mon, 28 Aug 2023 04:02:30 +0000 Subject: [PATCH] fix: use system default style Signed-off-by: z00378708 --- power_dialog/AppScope/app.json | 4 ++-- power_dialog/entry/src/main/ets/pages/batteryDialog.ets | 4 ++-- power_dialog/entry/src/main/ets/pages/powerDialog.ets | 4 ++-- power_dialog/entry/src/main/ets/pages/thermalHighDialog.ets | 4 ++-- power_dialog/entry/src/main/ets/pages/thermalLowDialog.ets | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/power_dialog/AppScope/app.json b/power_dialog/AppScope/app.json index 8fda516c..e1061c46 100644 --- a/power_dialog/AppScope/app.json +++ b/power_dialog/AppScope/app.json @@ -2,8 +2,8 @@ "app": { "bundleName": "com.ohos.powerdialog", "vendor": "ohos", - "versionCode": 1000005, - "versionName": "1.1.1.0", + "versionCode": 1000006, + "versionName": "1.1.1.1", "icon": "$media:app_icon", "label": "$string:app_name", "distributedNotificationEnabled": true, diff --git a/power_dialog/entry/src/main/ets/pages/batteryDialog.ets b/power_dialog/entry/src/main/ets/pages/batteryDialog.ets index 87b52c7b..8d8d9eef 100644 --- a/power_dialog/entry/src/main/ets/pages/batteryDialog.ets +++ b/power_dialog/entry/src/main/ets/pages/batteryDialog.ets @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022 Huawei Device Co., Ltd. + * Copyright (c) 2022-2023 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -71,7 +71,7 @@ struct BatteryDialog { alignment: DialogAlignment.Center, offset: { dx: 0, dy: -20 }, gridCount: 4, - customStyle: true + customStyle: false }) onCancel() { diff --git a/power_dialog/entry/src/main/ets/pages/powerDialog.ets b/power_dialog/entry/src/main/ets/pages/powerDialog.ets index 8700f97a..af3e951d 100644 --- a/power_dialog/entry/src/main/ets/pages/powerDialog.ets +++ b/power_dialog/entry/src/main/ets/pages/powerDialog.ets @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022 Huawei Device Co., Ltd. + * Copyright (c) 2022-2023 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -97,7 +97,7 @@ struct PowerDialog { alignment: DialogAlignment.Center, offset: { dx: 0, dy: -20 }, gridCount: 4, - customStyle: true + customStyle: false }); timeoutId: number; diff --git a/power_dialog/entry/src/main/ets/pages/thermalHighDialog.ets b/power_dialog/entry/src/main/ets/pages/thermalHighDialog.ets index 9bc611a3..88e4e459 100644 --- a/power_dialog/entry/src/main/ets/pages/thermalHighDialog.ets +++ b/power_dialog/entry/src/main/ets/pages/thermalHighDialog.ets @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022 Huawei Device Co., Ltd. + * Copyright (c) 2022-2023 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -71,7 +71,7 @@ struct HighDialog { alignment: DialogAlignment.Center, offset: { dx: 0, dy: -20 }, gridCount: 4, - customStyle: true + customStyle: false }) onCancel() { diff --git a/power_dialog/entry/src/main/ets/pages/thermalLowDialog.ets b/power_dialog/entry/src/main/ets/pages/thermalLowDialog.ets index bb5fd4c6..fe259a7e 100644 --- a/power_dialog/entry/src/main/ets/pages/thermalLowDialog.ets +++ b/power_dialog/entry/src/main/ets/pages/thermalLowDialog.ets @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022 Huawei Device Co., Ltd. + * Copyright (c) 2022-2023 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -70,7 +70,7 @@ struct LowDialog { alignment: DialogAlignment.Center, offset: { dx: 0, dy: -20 }, gridCount: 4, - customStyle: true + customStyle: false }) onCancel() { -- Gitee