@x12i/pocket-videos 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app.js +3 -1
- package/package.json +1 -1
- package/sw.js +1 -1
package/app.js
CHANGED
|
@@ -204,6 +204,8 @@ function setView(view, { push = true } = {}) {
|
|
|
204
204
|
} else if (view === 'liked') {
|
|
205
205
|
document.title = `Liked · ${state.app.name || 'Pocket Videos'}`;
|
|
206
206
|
renderLiked();
|
|
207
|
+
} else if (view === 'player') {
|
|
208
|
+
renderPlayer();
|
|
207
209
|
}
|
|
208
210
|
if (push && was !== view && (view === 'player' || view === 'liked')) {
|
|
209
211
|
navDepth += 1;
|
|
@@ -354,7 +356,7 @@ function renderLiked() {
|
|
|
354
356
|
markButtons('tracks', trackMarkKey(playlist.id, track.src)));
|
|
355
357
|
});
|
|
356
358
|
$('#liked').replaceChildren(
|
|
357
|
-
h('button', { class: 'back', type: 'button', onclick:
|
|
359
|
+
h('button', { class: 'back', type: 'button', onclick: backHome }, svg(PATH.back, 22), 'Home'),
|
|
358
360
|
h('h1', { text: 'Liked' }),
|
|
359
361
|
h('p', { class: 'meta', text: items.length
|
|
360
362
|
? countLabel(items.length, termLower('track'), termLower('tracks'))
|
package/package.json
CHANGED
package/sw.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// - Media: served from the media cache when the playlist is saved there (with Range support,
|
|
6
6
|
// which phones need for seeking in MP3 and MP4); otherwise streamed from the network.
|
|
7
7
|
|
|
8
|
-
const VERSION = '
|
|
8
|
+
const VERSION = 'v3';
|
|
9
9
|
const SHELL = `pv-shell-${VERSION}`;
|
|
10
10
|
const DATA = 'pv-data';
|
|
11
11
|
const COVERS = 'pv-covers';
|