Merge pull request #1213 from Materialious/update/1.11.10

Minor fix for thumbnail view counts
This commit is contained in:
Ward
2025-11-28 02:57:38 +00:00
committed by GitHub
7 changed files with 14 additions and 9 deletions
+2 -2
View File
@@ -7,8 +7,8 @@ android {
applicationId "us.materialio.app"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 170
versionName "1.11.9"
versionCode 171
versionName "1.11.10"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
@@ -67,6 +67,10 @@
<content_attribute id="social-contacts">intense</content_attribute>
</content_rating>
<releases>
<release version="1.11.10" date="2025-11-28">
<url>https://github.com/Materialious/Materialious/releases/tag/1.11.10</url>
</release>
<release version="1.11.9" date="2025-11-25">
<url>https://github.com/Materialious/Materialious/releases/tag/1.11.9</url>
</release>
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "Materialious",
"version": "1.11.9",
"version": "1.11.10",
"description": "Modern material design for Invidious.",
"author": {
"name": "Ward Pearce",
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "materialious",
"version": "1.11.9",
"version": "1.11.10",
"private": true,
"scripts": {
"dev": "vite dev",
@@ -73,4 +73,4 @@
"svelte-infinite-loading": "^1.4.0",
"youtubei.js": "^16.0.1"
}
}
}
+1
View File
@@ -22,6 +22,7 @@ export interface VideoBase {
authorId: string;
lengthSeconds: number;
viewCountText: string;
viewCount?: number;
}
export interface ResolvedUrl {
@@ -2,7 +2,7 @@
import { resolve } from '$app/paths';
import { getBestThumbnail } from '$lib/images';
import { letterCase } from '$lib/letterCasing';
import { videoLength } from '$lib/numbers';
import { cleanNumber, videoLength } from '$lib/numbers';
import { onDestroy, onMount } from 'svelte';
import { _ } from '$lib/i18n';
import { get } from 'svelte/store';
@@ -226,13 +226,13 @@
{#if !('publishedText' in video) && 'viewCountText' in video}
{video.viewCountText}
{video.viewCountText ?? cleanNumber(video.viewCount ?? 0)}
{$_('views')}
{/if}
{#if 'publishedText' in video}
<div class="max">
{video.viewCountText}{video.publishedText}
{video.viewCountText ?? cleanNumber(video.viewCount ?? 0)}{video.publishedText}
</div>
{/if}
</div>
+1 -1
View File
@@ -3,7 +3,7 @@ import os
import re
from datetime import datetime
LATEST_VERSION = "1.11.9"
LATEST_VERSION = "1.11.10"
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")