From ead3d596dec43be7c312f6a488bb30a13b6c5c04 Mon Sep 17 00:00:00 2001 From: esterzhou Date: Mon, 21 Mar 2022 00:23:50 +0800 Subject: [PATCH] update doc Signed-off-by: esterzhou --- 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 b402daf3f9..82ae2c2f0c 100644 --- a/en/application-dev/reference/apis/js-apis-settings.md +++ b/en/application-dev/reference/apis/js-apis-settings.md @@ -99,8 +99,8 @@ If the specified data item exists in the database, the **setValueSync** method u ``` import featureAbility from '@ohos.featureAbility'; - // Update the value of 'settings.screen.brightness'. (As this data item exists in the database, the setValueSync 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 setValueSync + method will update the value of the data item.) let brightness = 'settings.screen.brightness'; let uri = settings.getUriSync(brightness); let helper = featureAbility.acquireDataAbilityHelper(uri); -- GitLab