Skip to content

Commit 3218d09

Browse files
committed
Fix
1 parent 40d0714 commit 3218d09

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

web/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ <h3 class="font-bold text-gray-900 text-[14px] md:text-[15px] mb-3 border-b bord
212212
<input type="checkbox" id="chkAutoOpen" class="w-4 h-4 accent-black cursor-pointer rounded">
213213
<span class="text-xs md:text-sm font-bold text-gray-900">Auto-open after optimization</span>
214214
</label>
215-
<p class="text-[10px] md:text-[11px] text-gray-500 mt-1.5 ml-7">Automatically open the optimized file in Boox Notes after processing. Only works in the Android app.</p>
215+
<p class="text-[10px] md:text-[11px] text-gray-500 mt-1.5 ml-7">Automatically open the optimized file in Boox Notes after processing. Android app only. Disabled for the demo file.</p>
216216
</div>
217217
</div>
218218
</details>
@@ -1131,7 +1131,7 @@ <h3 class="font-bold text-gray-900 mb-1 uppercase text-xs tracking-wider">MIT Li
11311131
}
11321132
ui.btnLoadPreview.disabled = false;
11331133

1134-
if (ui.chkAutoOpen.checked && window.Android) {
1134+
if (ui.chkAutoOpen.checked && window.Android && fileSource && fileSource.type !== 'demo') {
11351135
shareOptimizedFile();
11361136
} else if (previewEnabled) {
11371137
ui.btnOptPdf.disabled = false;

0 commit comments

Comments
 (0)