Questify: Fix Patch
This commit is contained in:
parent
525d06d488
commit
9428751316
3 changed files with 6 additions and 4 deletions
|
|
@ -48,7 +48,7 @@ function ToolBarHeader() {
|
|||
async function openCompleteQuestUI() {
|
||||
const quest = [...QuestsStore.quests.values()].find(x => x.id !== "1412491570820812933" && x.userStatus?.enrolledAt && !x.userStatus?.completedAt && new Date(x.config.expiresAt).getTime() > Date.now());
|
||||
|
||||
if (!quest && !settings.store.disableNotifications) {
|
||||
if (!quest) {
|
||||
showNotification({
|
||||
title: "Quest Completer",
|
||||
body: "No Quests To Complete. Click to navigate to the quests tab",
|
||||
|
|
@ -208,8 +208,8 @@ async function openCompleteQuestUI() {
|
|||
|
||||
const settings = definePluginSettings({
|
||||
disableNotifications: {
|
||||
description: "Disable notifications when no quests are available or when a quest is completed",
|
||||
type: OptionType.BOOLEAN,
|
||||
description: "Disable notifications when no quests are available or when a quest is completed - still shows no quests notif",
|
||||
default: false,
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1017,7 +1017,7 @@ export default definePlugin({
|
|||
{
|
||||
// Same as above, probably? Not sure when
|
||||
// each function is used, so patching both.
|
||||
find: "iconOnly)},",
|
||||
find: '"StackedActivityStatus"})',
|
||||
group: true,
|
||||
replacement: [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -121,6 +121,8 @@ async function generateDebugInfoMessage() {
|
|||
potentiallyProblematicPlugins.push("CustomIdle");
|
||||
}
|
||||
|
||||
const potentiallyProblematicPluginsNote = "-# Note: said plugin(s) might be the not be the cause of your problem. They are just plug-ins that cause common issues.";
|
||||
|
||||
const commonIssues = {
|
||||
"Activity Sharing Disabled": tryOrElse(() => !ShowCurrentGame.getSetting(), false),
|
||||
"Link Embeds Disabled": tryOrElse(() => !ShowEmbeds.getSetting(), false),
|
||||
|
|
@ -129,7 +131,7 @@ async function generateDebugInfoMessage() {
|
|||
"Platform Spoofed": spoofInfo?.spoofed ?? false,
|
||||
"Has UserPlugins": Object.values(PluginMeta).some(m => m.userPlugin),
|
||||
">2 Weeks Outdated": BUILD_TIMESTAMP < Date.now() - 12096e5,
|
||||
[`Potentially Problematic Plugins: ${potentiallyProblematicPlugins.join(", ")}`]: potentiallyProblematicPlugins.length
|
||||
[`Potentially Problematic Plugins: ${potentiallyProblematicPlugins.join(", ")}\n${potentiallyProblematicPluginsNote}`]: potentiallyProblematicPlugins.length
|
||||
};
|
||||
|
||||
let content = `>>> ${Object.entries(info).map(([k, v]) => `**${k}**: ${v}`).join("\n")}`;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue