diff --git a/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/pages/notificationDialog.ets b/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/pages/notificationDialog.ets index 205f07b8f1b05e5e786dcbe4daff210eaa7acc73..408968163ce9880f4513d2afed1a7241be5dc199 100644 --- a/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/pages/notificationDialog.ets +++ b/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/pages/notificationDialog.ets @@ -31,12 +31,13 @@ struct NotificationDialog { Flex({ alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { Text($r("app.string.if_allow_to_publish_notification")) .width("350vp") - .height("22vp") + .height("50vp") .margin({ top: 32 }) .fontSize(21) .fontColor("#182431") .fontWeight(400) .opacity(1) + .maxLines(2) .textAlign(TextAlign.Center) } diff --git a/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/base/element/string.json b/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/base/element/string.json index 3e437d5205c5572c7ebf5f58bbaeda312d05113d..aa5f19dd34183234fe3c06b0a7310d36d7e68e00 100644 --- a/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/base/element/string.json +++ b/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/base/element/string.json @@ -18,11 +18,11 @@ }, { "name": "allow", - "value": "allow" + "value": "ALLOW" }, { "name": "ban", - "value": "ban" + "value": "BAN" } ] } \ No newline at end of file