mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-13 00:23:02 -04:00
Fix Typo In QuestCompleter
This commit is contained in:
parent
b182b09817
commit
e224a0f4db
2 changed files with 6 additions and 5 deletions
|
@ -158,7 +158,7 @@ export default definePlugin({
|
||||||
const progress = quest.config.configVersion === 1 ? data.userStatus.streamProgressSeconds : Math.floor(data.userStatus.progress.PLAY_ON_DESKTOP.value);
|
const progress = quest.config.configVersion === 1 ? data.userStatus.streamProgressSeconds : Math.floor(data.userStatus.progress.PLAY_ON_DESKTOP.value);
|
||||||
showNotification({
|
showNotification({
|
||||||
title: `${applicationName} - Quests Completer`,
|
title: `${applicationName} - Quests Completer`,
|
||||||
body: `Current progress: ${progress}/${secondsNeeded} minutes.`,
|
body: `Current progress: ${progress}/${secondsNeeded} seconds.`,
|
||||||
icon: icon,
|
icon: icon,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -191,7 +191,7 @@ export default definePlugin({
|
||||||
const progress = quest.config.configVersion === 1 ? data.userStatus.streamProgressSeconds : Math.floor(data.userStatus.progress.STREAM_ON_DESKTOP.value);
|
const progress = quest.config.configVersion === 1 ? data.userStatus.streamProgressSeconds : Math.floor(data.userStatus.progress.STREAM_ON_DESKTOP.value);
|
||||||
showNotification({
|
showNotification({
|
||||||
title: `${applicationName} - Quests Completer`,
|
title: `${applicationName} - Quests Completer`,
|
||||||
body: `Current progress: ${progress}/${secondsNeeded} minutes.`,
|
body: `Current progress: ${progress}/${secondsNeeded} seconds.`,
|
||||||
icon: icon,
|
icon: icon,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ import "./styles.css";
|
||||||
|
|
||||||
import { NavContextMenuPatchCallback } from "@api/ContextMenu";
|
import { NavContextMenuPatchCallback } from "@api/ContextMenu";
|
||||||
import * as DataStore from "@api/DataStore";
|
import * as DataStore from "@api/DataStore";
|
||||||
import { definePluginSettings } from "@api/Settings";
|
import { definePluginSettings, migratePluginSettings } from "@api/Settings";
|
||||||
import ErrorBoundary from "@components/ErrorBoundary";
|
import ErrorBoundary from "@components/ErrorBoundary";
|
||||||
import { Devs } from "@utils/constants";
|
import { Devs } from "@utils/constants";
|
||||||
import { openModal } from "@utils/modal";
|
import { openModal } from "@utils/modal";
|
||||||
|
@ -18,6 +18,7 @@ import { i18n, Menu, Tooltip, useEffect, useState } from "@webpack/common";
|
||||||
import { Message, User } from "discord-types/general";
|
import { Message, User } from "discord-types/general";
|
||||||
|
|
||||||
import { SetTimezoneModal } from "./TimezoneModal";
|
import { SetTimezoneModal } from "./TimezoneModal";
|
||||||
|
import { migrateData } from "plugins/pinDms/data";
|
||||||
|
|
||||||
export const DATASTORE_KEY = "vencord-timezones";
|
export const DATASTORE_KEY = "vencord-timezones";
|
||||||
|
|
||||||
|
@ -137,9 +138,9 @@ const userContextMenuPatch: NavContextMenuPatchCallback = (children, { user }: {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
migratePluginSettings("Timezones", "Timezone");
|
||||||
export default definePlugin({
|
export default definePlugin({
|
||||||
name: "Timezone",
|
name: "Timezones",
|
||||||
authors: [Devs.Aria],
|
authors: [Devs.Aria],
|
||||||
description: "Shows the local time of users in profiles and message headers",
|
description: "Shows the local time of users in profiles and message headers",
|
||||||
contextMenus: {
|
contextMenus: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue