Skip to content

Commit

Permalink
Shorten message
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaifroid committed Nov 2, 2024
1 parent 790732f commit 1ad2bbc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions www/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -650,10 +650,10 @@ document.getElementById('btnRescanDeviceStorage').addEventListener('click', func
}
// Check if we are in an Android app, and if so, auto-select use of OPFS if there is no set value in settingsStore for useOPFS
if (/Android/.test(params.appType) && !params.useOPFS && !settingsStore.getItem('useOPFS')) {
uiUtil.systemAlert('<p>We are selecting use of the Private File System (OPFS) for you.</p>' +
'<p>This is because you are using the device on Android, and the OPFS provides significant benefits in this context: much faster file system access; ' +
'the ability to access archives without permission prompts; and automatic reload of an archive on app start.</p>' +
'<p>Please accept the Storage permission prompt, if asked.</p>', 'Use OPFS', true, 'Use classic file picker')
uiUtil.systemAlert('<p>We are selecting use of the Private File System (OPFS).</p>' +
'<p>Reason: you are using Android, and the OPFS provides significant benefits: faster file system access; ' +
'no permission prompts; automatic reload of archive on app start.</p>' +
'<p><b>Please accept any Storage permission prompt.</b></p>', 'Use OPFS', true, 'Use classic file picker')
.then(function (response) {
if (response) {
document.getElementById('useOPFSCheck').click();
Expand Down

0 comments on commit 1ad2bbc

Please sign in to comment.