Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 0 additions & 75 deletions netlify/edge-functions/linkPreview.ts

This file was deleted.

11 changes: 4 additions & 7 deletions src/lib/libraryUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,10 @@ export async function fetchCollection(

listBtnsContainer.className = listContainer.classList.contains('reverse') ? 'reserved' : (shared ? 'shared' : 'collection');

if (listBtnsContainer.classList.contains('favorites')) {
if (id !== 'favorites')
listBtnsContainer.classList.remove('favorites');
}
else if (id === 'favorites')
listBtnsContainer.classList.add('favorites');

['favorites', 'listenLater'].forEach(cls => {
listBtnsContainer.classList.toggle(cls, id === cls);
});

if (location.pathname !== '/list')
goTo('/list');

Expand Down
3 changes: 2 additions & 1 deletion src/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,5 +173,6 @@
"list_sort_title": "Trier par Titre A↔Z",
"list_sort_author": "Trier par Auteur A↔Z",
"settings_audio_quality": "Qualité Audio",
"settings_prefetch": "Prélecture de la file d'attente"
"settings_prefetch": "Prélecture de la file d'attente",
"settings_jiosaavn": "Préférez JioSaavn pour la musique"
}
5 changes: 3 additions & 2 deletions src/stylesheets/list.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
}
}

&.favorites {
&.favorites,
&.listenLater {
li {
display: block !important;
}
Expand Down Expand Up @@ -116,4 +117,4 @@
font-family: inherit;
}
}
}
}