diff --git a/package.cordovabuild.json b/package.cordovabuild.json index b9de6eb33..520ff39d0 100644 --- a/package.cordovabuild.json +++ b/package.cordovabuild.json @@ -36,6 +36,7 @@ "expose-loader": "^4.1.0", "file-loader": "^6.2.0", "phonegap": "9.0.0+cordova.9.0.0", + "prettier": "3.1.0", "process": "^0.11.10", "sass": "^1.62.1", "sass-loader": "^13.3.1", diff --git a/www/js/appstatus/PermissionsControls.tsx b/www/js/appstatus/PermissionsControls.tsx index 562e41d4d..9e3a9a8fc 100644 --- a/www/js/appstatus/PermissionsControls.tsx +++ b/www/js/appstatus/PermissionsControls.tsx @@ -27,9 +27,7 @@ const PermissionsControls = ({ onAccept }) => { explanationList={explanationList} visible={explainVis} setVisible={setExplainVis}> - {checkList?.map((lc) => ( - - ))} + {checkList?.map((lc) => )} diff --git a/www/js/usePermissionStatus.ts b/www/js/usePermissionStatus.ts index 0ca9bbca9..4d1f9bee9 100644 --- a/www/js/usePermissionStatus.ts +++ b/www/js/usePermissionStatus.ts @@ -296,8 +296,8 @@ const usePermissionStatus = () => { DEVICE_VERSION == 12 ? 'intro.appstatus.unusedapprestrict.description.android-disable-12' : DEVICE_VERSION < 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),