Improvement to playlist add
This commit is contained in:
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "Materialious",
|
||||
"version": "1.12.4",
|
||||
"version": "1.12.5",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "Materialious",
|
||||
"version": "1.12.4",
|
||||
"version": "1.12.5",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@capacitor-community/electron": "^5.0.0",
|
||||
|
||||
@@ -339,7 +339,7 @@
|
||||
await addPlaylistVideo(playlistId, data.video.videoId);
|
||||
}
|
||||
|
||||
setTimeout(async () => (personalPlaylists = await getPersonalPlaylists()), 500);
|
||||
personalPlaylists = await getPersonalPlaylists();
|
||||
}
|
||||
|
||||
async function loadMoreComments() {
|
||||
@@ -444,7 +444,7 @@
|
||||
</div>
|
||||
<ShareVideo bind:currentTime={playerCurrentTime} video={data.video} />
|
||||
</button>
|
||||
{#if personalPlaylists}
|
||||
{#if personalPlaylists && personalPlaylists.length > 0}
|
||||
<button class="border">
|
||||
<i>add</i>
|
||||
<div class="tooltip">{$_('player.addToPlaylist')}</div>
|
||||
|
||||
Reference in New Issue
Block a user