Skip to content

Commit

Permalink
update to Prettier 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JGreenlee committed Dec 6, 2023
1 parent aa9ee64 commit 4f173ba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.serve.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
16 changes: 8 additions & 8 deletions www/js/usePermissionStatus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit 4f173ba

Please sign in to comment.