mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-09 22:53: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);
|
||||
showNotification({
|
||||
title: `${applicationName} - Quests Completer`,
|
||||
body: `Current progress: ${progress}/${secondsNeeded} minutes.`,
|
||||
body: `Current progress: ${progress}/${secondsNeeded} seconds.`,
|
||||
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);
|
||||
showNotification({
|
||||
title: `${applicationName} - Quests Completer`,
|
||||
body: `Current progress: ${progress}/${secondsNeeded} minutes.`,
|
||||
body: `Current progress: ${progress}/${secondsNeeded} seconds.`,
|
||||
icon: icon,
|
||||
});
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ import "./styles.css";
|
|||
|
||||
import { NavContextMenuPatchCallback } from "@api/ContextMenu";
|
||||
import * as DataStore from "@api/DataStore";
|
||||
import { definePluginSettings } from "@api/Settings";
|
||||
import { definePluginSettings, migratePluginSettings } from "@api/Settings";
|
||||
import ErrorBoundary from "@components/ErrorBoundary";
|
||||
import { Devs } from "@utils/constants";
|
||||
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 { SetTimezoneModal } from "./TimezoneModal";
|
||||
import { migrateData } from "plugins/pinDms/data";
|
||||
|
||||
export const DATASTORE_KEY = "vencord-timezones";
|
||||
|
||||
|
@ -137,9 +138,9 @@ const userContextMenuPatch: NavContextMenuPatchCallback = (children, { user }: {
|
|||
|
||||
};
|
||||
|
||||
|
||||
migratePluginSettings("Timezones", "Timezone");
|
||||
export default definePlugin({
|
||||
name: "Timezone",
|
||||
name: "Timezones",
|
||||
authors: [Devs.Aria],
|
||||
description: "Shows the local time of users in profiles and message headers",
|
||||
contextMenus: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue