Minor fix to playlists page

This commit is contained in:
WardPearce
2026-01-02 19:50:45 +13:00
parent 0f367bf940
commit a1eda81f93
8 changed files with 13 additions and 10 deletions
+2 -2
View File
@@ -7,8 +7,8 @@ android {
applicationId "us.materialio.app"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 182
versionName "1.12.10"
versionCode 183
versionName "1.12.11"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
@@ -79,7 +79,11 @@
<release version="1.12.10" date="2025-12-28">
<release version="1.12.11" date="2026-1-02">
<url>https://github.com/Materialious/Materialious/releases/tag/1.12.11</url>
</release>
<release version="1.12.10" date="2025-12-28">
<url>https://github.com/Materialious/Materialious/releases/tag/1.12.10</url>
</release>
<release version="1.12.9" date="2025-12-28">
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "Materialious",
"version": "1.12.10",
"version": "1.12.11",
"description": "Modern material design for Invidious.",
"author": {
"name": "Ward Pearce",
-1
View File
@@ -190,7 +190,6 @@ export class ElectronCapacitorApp {
globalShortcut.register('Control+Shift+I', () => {
this.MainWindow.webContents.toggleDevTools();
});
// Security
this.MainWindow.webContents.setWindowOpenHandler((details) => {
shell.openExternal(details.url);
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "materialious",
"version": "1.12.10",
"version": "1.12.11",
"private": true,
"scripts": {
"dev": "npm run patch:github && vite dev",
@@ -26,9 +26,9 @@
if (get(interfaceLowBandwidthMode)) return;
let imgSrc = '';
if (playlist.videos.length > 0) {
if (playlist.videos && playlist.videos.length > 0) {
imgSrc = getBestThumbnail(playlist.videos[0].videoThumbnails) || '';
} else if (playlist.playlistThumbnail.length > 0) {
} else if (playlist.playlistThumbnail && playlist.playlistThumbnail.length > 0) {
imgSrc = playlist.playlistThumbnail;
} else {
imgSrc = '';
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -3,7 +3,7 @@ import os
import re
from datetime import datetime
LATEST_VERSION = "1.12.10"
LATEST_VERSION = "1.12.11"
RELEASE_DATE = datetime.now().strftime("%Y-%-m-%d") # Format: YYYY-M-D
WORKING_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "materialious")