diff --git a/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/common/constant.ets b/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/common/constant.ets index c95968779a5441036ccb4edfbc209f28ce97ec8d..144f0a9cb30cd0ad3bd359b5bf948e01616fd4dc 100644 --- a/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/common/constant.ets +++ b/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/common/constant.ets @@ -93,7 +93,8 @@ export default class Constants { public static CLICK_SHADOW_LENGTH = 48; public static DIVIDER = '1px'; public static DIVIDER_HEIGHT = 24; - public public static DIVIDER_WIDTH = '2px'; + public static DIVIDER_WIDTH = '2px'; + public static DIVIDER_WIDTH_THIN = '1px'; public static DIVIDER_MARGIN_RIGHT_PERMISSION = 52; public static DIVIDER_MARGIN_RIGHT_APPLICATION = 68; diff --git a/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/pages/tvNotificationDialog.ets b/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/pages/tvNotificationDialog.ets index f5c6254097fa08da21673244abae4281be525989..42f24126b6b881565558b218cc76ce61300bbf7c 100644 --- a/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/pages/tvNotificationDialog.ets +++ b/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/pages/tvNotificationDialog.ets @@ -130,13 +130,17 @@ struct PermissionDialog { await this.enableNotification(false); }) .customizeButton() - .margin({right: 12}) + Divider() + .color(Color.Transparent) + .vertical(true) + .height(Constants.DIVIDER_HEIGHT) + .strokeWidth(Constants.DIVIDER_WIDTH_THIN) + .margin({left: 12, right: 12}) Button($r('app.string.ALLOW')) .onClick(async (): Promise => { await this.enableNotification(true); }) .customizeButton() - .margin({left: 12}) } .margin({ left: Constants.TV_TITLE_MARGIN_SIDE,