From 4f173ba6ae2c34fd35ebd1525eb08d5c26b7094b Mon Sep 17 00:00:00 2001 From: Jack Greenlee Date: Wed, 6 Dec 2023 15:27:10 -0500 Subject: [PATCH] update to Prettier 3.1 --- package.serve.json | 2 +- www/js/usePermissionStatus.ts | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.serve.json b/package.serve.json index 7ec7ca541..674e2b790 100644 --- a/package.serve.json +++ b/package.serve.json @@ -49,7 +49,7 @@ "url-loader": "^4.1.1", "webpack": "^5.0.1", "webpack-cli": "^5.0.1", - "prettier": "3.0.3" + "prettier": "3.1.0" }, "dependencies": { "@messageformat/core": "^3.2.0", diff --git a/www/js/usePermissionStatus.ts b/www/js/usePermissionStatus.ts index 56fbdead1..0654f3cf8 100644 --- a/www/js/usePermissionStatus.ts +++ b/www/js/usePermissionStatus.ts @@ -137,12 +137,12 @@ const usePermissionStatus = () => { androidVersion < 6 ? 'intro.appstatus.locperms.description.android-lt-6' : androidVersion < 10 - ? 'intro.appstatus.locperms.description.android-6-9' - : androidVersion < 11 - ? 'intro.appstatus.locperms.description.android-10' - : androidVersion < 12 - ? 'intro.appstatus.locperms.description.android-11' - : 'intro.appstatus.locperms.description.android-gte-12'; + ? 'intro.appstatus.locperms.description.android-6-9' + : androidVersion < 11 + ? 'intro.appstatus.locperms.description.android-10' + : androidVersion < 12 + ? 'intro.appstatus.locperms.description.android-11' + : 'intro.appstatus.locperms.description.android-gte-12'; console.log('description tags are ' + androidSettingsDescTag + ' ' + androidPermDescTag); // location settings let locSettingsCheck = { @@ -358,8 +358,8 @@ const usePermissionStatus = () => { androidVersion == 12 ? 'intro.appstatus.unusedapprestrict.description.android-disable-12' : androidVersion < 12 - ? 'intro.appstatus.unusedapprestrict.description.android-disable-lt-12' - : 'intro.appstatus.unusedapprestrict.description.android-disable-gte-13'; + ? 'intro.appstatus.unusedapprestrict.description.android-disable-lt-12' + : 'intro.appstatus.unusedapprestrict.description.android-disable-gte-13'; let unusedAppsUnrestrictedCheck = { name: t('intro.appstatus.unusedapprestrict.name'), desc: t(androidUnusedDescTag),