Merge pull request #541 from Materialious/update/1.3.6
Fix logic for sponsorskip timeline
This commit is contained in:
@@ -7,8 +7,8 @@ android {
|
||||
applicationId "us.materialio.app"
|
||||
minSdkVersion rootProject.ext.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||
versionCode 34
|
||||
versionName "1.3.5"
|
||||
versionCode 35
|
||||
versionName "1.3.6"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
aaptOptions {
|
||||
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Materialious",
|
||||
"version": "1.3.5",
|
||||
"version": "1.3.6",
|
||||
"description": "Modern material design for Invidious.",
|
||||
"author": {
|
||||
"name": "Ward Pearce",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "materialious",
|
||||
"version": "1.3.5",
|
||||
"version": "1.3.6",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vite dev",
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
let sponsorBlockElements: Element[] = [];
|
||||
|
||||
function setSponsorTimeline() {
|
||||
if (!get(sponsorBlockTimelineStore)) return;
|
||||
if (get(sponsorBlockTimelineStore)) return;
|
||||
if (segments.length === 0) return;
|
||||
|
||||
const timeline = document.getElementsByClassName('vds-time-slider')[0];
|
||||
|
||||
@@ -74,7 +74,7 @@ export const sponsorBlockDisplayToastStore: Writable<boolean> = persisted(
|
||||
);
|
||||
export const sponsorBlockTimelineStore: Writable<boolean> = persisted(
|
||||
'sponsorBlockTimeline',
|
||||
true
|
||||
false
|
||||
);
|
||||
|
||||
export const deArrowInstanceStore = persisted(
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import json
|
||||
import os
|
||||
import re
|
||||
|
||||
LATEST_VERSION = "1.3.5"
|
||||
LATEST_VERSION = "1.3.6"
|
||||
WORKING_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "materialious")
|
||||
|
||||
ROOT_PACKAGE = os.path.join(WORKING_DIR, "package.json")
|
||||
|
||||
Reference in New Issue
Block a user