diff --git a/materialious/electron/package-lock.json b/materialious/electron/package-lock.json index f8104d17..66896d1d 100644 --- a/materialious/electron/package-lock.json +++ b/materialious/electron/package-lock.json @@ -1,12 +1,12 @@ { "name": "Materialious", - "version": "1.10.13", + "version": "1.10.14", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "Materialious", - "version": "1.10.13", + "version": "1.10.14", "license": "MIT", "dependencies": { "@capacitor-community/electron": "^5.0.0", diff --git a/materialious/electron/src/setup.ts b/materialious/electron/src/setup.ts index e51343b0..ae6fa10d 100644 --- a/materialious/electron/src/setup.ts +++ b/materialious/electron/src/setup.ts @@ -104,8 +104,8 @@ export class ElectronCapacitorApp { join(app.getAppPath(), 'assets', process.platform === 'win32' ? 'appIcon.ico' : 'appIcon.png') ); this.mainWindowState = windowStateKeeper({ - defaultWidth: 1000, - defaultHeight: 800 + defaultWidth: 1920, + defaultHeight: 1080 }); // Setup preload script path and construct our main window. const preloadPath = join(app.getAppPath(), 'build', 'src', 'preload.js'); diff --git a/materialious/package-lock.json b/materialious/package-lock.json index f7d18d3a..d4eef3f1 100644 --- a/materialious/package-lock.json +++ b/materialious/package-lock.json @@ -1,12 +1,12 @@ { "name": "materialious", - "version": "1.10.12", + "version": "1.10.14", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "materialious", - "version": "1.10.12", + "version": "1.10.14", "hasInstallScript": true, "dependencies": { "@capacitor-community/electron": "^5.0.1", @@ -17,7 +17,7 @@ "@capacitor/clipboard": "^7.0.0", "@capacitor/core": "^7.4.3", "@capacitor/screen-orientation": "^7.0.0", - "beercss": "^3.8.0", + "beercss": "^3.12.11", "bgutils-js": "^3.2.0", "capacitor-nodejs": "https://github.com/hampoelz/capacitor-nodejs/releases/download/v1.0.0-beta.9/capacitor-nodejs.tgz", "fuse.js": "^7.0.0", @@ -4307,9 +4307,9 @@ } }, "node_modules/beercss": { - "version": "3.10.8", - "resolved": "https://registry.npmjs.org/beercss/-/beercss-3.10.8.tgz", - "integrity": "sha512-LWwkkhF5F3VAD2z3pkDuWD540l/OUKdway9n+ZW+6naX+bKYPl9PKh/nD47/djYqYeH4jGu9QZcpk7p3Xv7YfQ==", + "version": "3.12.11", + "resolved": "https://registry.npmjs.org/beercss/-/beercss-3.12.11.tgz", + "integrity": "sha512-9NQWL3kxSOb5RPWAV5BPVs64CS72F5Z4HgxusqD07Ho4asaTJB33/SkJBMclQeUQs7hFH2CJOgGgDnIsRk2RyQ==", "license": "MIT", "dependencies": { "material-dynamic-colors": "^1.1.2" diff --git a/materialious/package.json b/materialious/package.json index 7ed0b774..98669fb6 100644 --- a/materialious/package.json +++ b/materialious/package.json @@ -50,7 +50,7 @@ "@capacitor/clipboard": "^7.0.0", "@capacitor/core": "^7.4.3", "@capacitor/screen-orientation": "^7.0.0", - "beercss": "^3.8.0", + "beercss": "^3.12.11", "bgutils-js": "^3.2.0", "capacitor-nodejs": "https://github.com/hampoelz/capacitor-nodejs/releases/download/v1.0.0-beta.9/capacitor-nodejs.tgz", "fuse.js": "^7.0.0", @@ -70,4 +70,4 @@ "svelte-persisted-store": "^0.12.0", "youtubei.js": "^15.1.1" } -} \ No newline at end of file +} diff --git a/materialious/src/lib/components/Comment.svelte b/materialious/src/lib/components/Comment.svelte index 400c609b..70364bed 100644 --- a/materialious/src/lib/components/Comment.svelte +++ b/materialious/src/lib/components/Comment.svelte @@ -12,9 +12,10 @@ interface Props { comment: Comment; videoId: string; + isSubComp?: boolean; } - let { comment, videoId }: Props = $props(); + let { comment, videoId, isSubComp = false }: Props = $props(); let replies: Comments | undefined = $state(undefined); @@ -53,7 +54,7 @@ }); -
+
{#if !$interfaceLowBandwidthMode}
{#if userPfp} @@ -95,17 +96,16 @@ {#if replies}
{#each replies.comments as reply} - + {/each}
{/if} -
+
diff --git a/materialious/src/routes/(app)/subscriptions/+page.svelte b/materialious/src/routes/(app)/subscriptions/+page.svelte index 3bbac852..b012c6bb 100644 --- a/materialious/src/routes/(app)/subscriptions/+page.svelte +++ b/materialious/src/routes/(app)/subscriptions/+page.svelte @@ -22,14 +22,6 @@ } -
- - diff --git a/materialious/src/routes/(app)/watch/[slug]/+page.svelte b/materialious/src/routes/(app)/watch/[slug]/+page.svelte index 46ec484e..2203943e 100644 --- a/materialious/src/routes/(app)/watch/[slug]/+page.svelte +++ b/materialious/src/routes/(app)/watch/[slug]/+page.svelte @@ -303,7 +303,7 @@ clearTimeout(pauseTimeout); } pauseTimeout = setTimeout(() => { - // player.pause(); + playerElement.pause(); pauseTimerSeconds = 0; clearTimeout(pauseTimeout); }, pauseTimerSeconds * 1000); @@ -313,11 +313,9 @@ - {data.video.title} | Materialious + {data.video.title} -
-
@@ -417,12 +415,12 @@
-
+
{#if data.content.timestamps.length > 0} -
+