Trash FAB: always shows 🗑️; active mode has transparent background, no shadow
This commit is contained in:
@@ -291,7 +291,7 @@ function toggleTrash() {
|
||||
showTrash = !showTrash;
|
||||
const btn = document.getElementById('trashBtn');
|
||||
const actions = document.getElementById('trashActions');
|
||||
if (btn) { btn.textContent = showTrash ? '📋' : '🗑️'; btn.classList.toggle('active', showTrash); btn.title = showTrash ? 'Active entries' : 'Trash'; }
|
||||
if (btn) { btn.classList.toggle('active', showTrash); btn.title = showTrash ? 'Back to entries' : 'Trash'; }
|
||||
if (actions) actions.classList.toggle('hidden', !showTrash);
|
||||
loadEntries();
|
||||
playSound('click');
|
||||
|
||||
Reference in New Issue
Block a user