Remember kids! Do not sniff crack!
This commit is contained in:
parent
fb720a4170
commit
c444bd8f2b
3 changed files with 21 additions and 9 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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() {
|
|||
</FormSection>
|
||||
|
||||
<FormSection title="CHANGELOG">
|
||||
<FormRow
|
||||
label="View GitHub Commits"
|
||||
leading={<FormRow.Icon source={getAssetIDByName("ic_history")} />}
|
||||
trailing={<FormRow.Arrow />}
|
||||
onPress={() => {
|
||||
Linking.openURL(Constants.GITHUB_COMMITS_URL);
|
||||
}}
|
||||
/>
|
||||
<FormDivider />
|
||||
{changelog.map((entry, index) => (
|
||||
<View
|
||||
key={index}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue