Update the CryptApp name to DelveTourApp

This commit is contained in:
Oliver-Akins 2025-02-08 18:02:17 -07:00
parent d7661bea14
commit 18f27b15da
3 changed files with 5 additions and 5 deletions

View file

@ -11,14 +11,14 @@ const conditions = [
{ label: `RipCrypt.common.difficulties.hard`, value: 7 }, { label: `RipCrypt.common.difficulties.hard`, value: 7 },
]; ];
export class CryptApp extends GenericAppMixin(HandlebarsApplicationMixin(ApplicationV2)) { export class DelveTourApp extends GenericAppMixin(HandlebarsApplicationMixin(ApplicationV2)) {
// #region Options // #region Options
static DEFAULT_OPTIONS = { static DEFAULT_OPTIONS = {
classes: [ classes: [
`ripcrypt--CryptApp`, `ripcrypt--CryptApp`,
], ],
window: { window: {
title: `Crypt`, title: `Delve Tour`,
frame: true, frame: true,
positioned: true, positioned: true,
resizable: false, resizable: false,

View file

@ -1,7 +1,7 @@
// Applications // Applications
import { AllItemSheetV1 } from "../Apps/ItemSheets/AllItemSheetV1.mjs"; import { AllItemSheetV1 } from "../Apps/ItemSheets/AllItemSheetV1.mjs";
import { CombinedHeroSheet } from "../Apps/ActorSheets/CombinedHeroSheet.mjs"; import { CombinedHeroSheet } from "../Apps/ActorSheets/CombinedHeroSheet.mjs";
import { CryptApp } from "../Apps/CryptApp.mjs"; import { DelveTourApp } from "../Apps/DelveTourApp.mjs";
import { HeroSkillsCardV1 } from "../Apps/ActorSheets/HeroSkillsCardV1.mjs"; import { HeroSkillsCardV1 } from "../Apps/ActorSheets/HeroSkillsCardV1.mjs";
import { HeroSummaryCardV1 } from "../Apps/ActorSheets/HeroSummaryCardV1.mjs"; import { HeroSummaryCardV1 } from "../Apps/ActorSheets/HeroSummaryCardV1.mjs";
@ -29,7 +29,7 @@ import { registerUserSettings } from "../settings/userSettings.mjs";
Hooks.once(`init`, () => { Hooks.once(`init`, () => {
Logger.log(`Initializing`); Logger.log(`Initializing`);
CONFIG.ui.crypt = CryptApp; CONFIG.ui.crypt = DelveTourApp;
// #region Settings // #region Settings
registerMetaSettings(); registerMetaSettings();

View file

@ -5,7 +5,7 @@ export function registerMetaSettings() {
config: false, config: false,
requiresReload: false, requiresReload: false,
onChange: () => { onChange: () => {
CONFIG.ui.crypt.render({ parts: [ `delveConditions` ]}); ui.crypt.render({ parts: [ `delveConditions` ]});
}, },
}); });
}; };