From c444bd8f2b6a6dd434d19c08beb7a8758be5b2b6 Mon Sep 17 00:00:00 2001 From: kmmiio99o <164557248+kmmiio99o@users.noreply.github.com> Date: Sat, 13 Sep 2025 23:31:29 +0200 Subject: [PATCH] Remember kids! Do not sniff crack! --- plugins/Last.fm/src/changelog.ts | 14 +++++++------- plugins/Last.fm/src/constants.ts | 5 ++++- plugins/Last.fm/src/ui/pages/Settings.tsx | 11 ++++++++++- 3 files changed, 21 insertions(+), 9 deletions(-) diff --git a/plugins/Last.fm/src/changelog.ts b/plugins/Last.fm/src/changelog.ts index f2e1f98..cd3ca0f 100644 --- a/plugins/Last.fm/src/changelog.ts +++ b/plugins/Last.fm/src/changelog.ts @@ -6,23 +6,23 @@ interface ChangelogEntry { export const changelog: ChangelogEntry[] = [ { - version: "2.1.0", - date: "2024-01-15", - changes: ["Add changelog display to Last.fm plugin settings"], + version: "2.2.0", + date: "2025-09-13", + changes: ["Remember kids! Do not sniff crack!"], }, { version: "2.0.0", - date: "2025-09-12", + date: "2025-09-13", changes: ["Fix settings scrolling"], }, { version: "1.3.0", - date: "2025-09-12", + date: "2025-09-13", changes: ["fix reanimated"], }, { version: "1.2.0", - date: "2025-09-12", + date: "2025-09-13", changes: ["test"], }, { @@ -32,4 +32,4 @@ export const changelog: ChangelogEntry[] = [ }, ]; -export const currentVersion = "2.0.0"; +export const currentVersion = "2.2.0"; diff --git a/plugins/Last.fm/src/constants.ts b/plugins/Last.fm/src/constants.ts index 7fc897e..e65d25a 100644 --- a/plugins/Last.fm/src/constants.ts +++ b/plugins/Last.fm/src/constants.ts @@ -26,7 +26,10 @@ const Constants = { listeningTo: true, ignoreSpotify: true, verboseLogging: false, - }, + } /** GitHub repository URL */, + GITHUB_URL: "https://github.com/kmmiio99o/letup", + /** GitHub commits URL */ + GITHUB_COMMITS_URL: "https://github.com/kmmiio99o/letup/commits/main/", } as const; export default Constants; diff --git a/plugins/Last.fm/src/ui/pages/Settings.tsx b/plugins/Last.fm/src/ui/pages/Settings.tsx index 72c45f5..99f9989 100644 --- a/plugins/Last.fm/src/ui/pages/Settings.tsx +++ b/plugins/Last.fm/src/ui/pages/Settings.tsx @@ -4,7 +4,7 @@ import { useProxy } from "@vendetta/storage"; import { getAssetIDByName } from "@vendetta/ui/assets"; import { showToast } from "@vendetta/ui/toasts"; import { React } from "@vendetta/metro/common"; -import { ScrollView, View } from "react-native"; +import { ScrollView, View, Linking } from "react-native"; import { changelog, currentVersion } from "../../changelog"; import { currentSettings, pluginState } from "../.."; @@ -193,6 +193,15 @@ export default function Settings() { + } + trailing={} + onPress={() => { + Linking.openURL(Constants.GITHUB_COMMITS_URL); + }} + /> + {changelog.map((entry, index) => (