Update UI and improve archive handling: add reading mode message, adjust button label, and enhance styles for better layout
This commit is contained in:
@@ -518,6 +518,7 @@ function renderArchive(notes) {
|
||||
elements['archive-list'].replaceChildren();
|
||||
elements['archive-empty'].hidden = notes.length > 0;
|
||||
if (!navigator.onLine) elements['archive-empty'].textContent = 'Reconnect to view saved notes.';
|
||||
else if (elements['main'].classList.contains('reading')) elements['archive-empty'].textContent = 'No stored transcriptions yet.';
|
||||
else elements['archive-empty'].textContent = 'No saved notes yet.';
|
||||
if (notes.some((note) => note.status === 'transcribing')) {
|
||||
if (!transcriptionPoll) {
|
||||
|
||||
Reference in New Issue
Block a user