Skip to content

Commit

Permalink
fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
JGreenlee committed Oct 5, 2024
1 parent 112e9de commit 8fa1ce8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions package.cordovabuild.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 1 addition & 3 deletions www/js/appstatus/PermissionsControls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ const PermissionsControls = ({ onAccept }) => {
explanationList={explanationList}
visible={explainVis}
setVisible={setExplainVis}></ExplainPermissions>
{checkList?.map((lc) => (
<PermissionItem key={lc.name} check={lc}></PermissionItem>
))}
{checkList?.map((lc) => <PermissionItem key={lc.name} check={lc}></PermissionItem>)}
</ScrollView>
<View style={styles.buttonBox}>
<Button onPress={() => refreshAllChecks(checkList)}>{t('intro.appstatus.refresh')}</Button>
Expand Down
4 changes: 2 additions & 2 deletions www/js/usePermissionStatus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 8fa1ce8

Please sign in to comment.