From 9b7e4304b38f1df415158f010293726fa902ebd2 Mon Sep 17 00:00:00 2001 From: "ester.zhou" Date: Fri, 18 Feb 2022 14:57:35 +0800 Subject: [PATCH] update doc Signed-off-by: ester.zhou --- en/application-dev/reference/apis/js-apis-settings.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/application-dev/reference/apis/js-apis-settings.md b/en/application-dev/reference/apis/js-apis-settings.md index b2af7ae69e..afb02dba1e 100644 --- a/en/application-dev/reference/apis/js-apis-settings.md +++ b/en/application-dev/reference/apis/js-apis-settings.md @@ -97,8 +97,8 @@ To use this method, you must have the **ohos.permission.WRITE_SYSTEM_SETTING** p ``` import featureAbility from '@ohos.featureAbility'; - // Update the value of 'settings.screen.brightness'. (As this data item exists in the database, the setValue method will - update the value of the data item.) + // Update the value of 'settings.screen.brightness'. (As this data item exists in the database, the setValue method + will update the value of the data item.) let brightness = 'settings.screen.brightness'; let uri = settings.getUri(brightness); let helper = featureAbility.acquireDataAbilityHelper(uri); -- GitLab