Skip to content

Commit

Permalink
[Fix] Rename (#4)
Browse files Browse the repository at this point in the history
Rename TroubleshootingModal -> PluginTroubleshootingModal
  • Loading branch information
4Source authored Mar 18, 2024
1 parent db9b77c commit d0df258
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import VarePlugin from 'src/main';
import { PluginInfo } from 'src/settings/SettingsInterface';
import { Release, fetchManifest, fetchReleases, repositoryRegEx } from 'src/util/GitHub';

export class TroubleshootingModal extends Modal {
export class PluginTroubleshootingModal extends Modal {
plugin: VarePlugin;
pluginInfo: PluginInfo;
onSubmit: (result: PluginInfo) => void;
Expand Down
4 changes: 2 additions & 2 deletions src/settings/SettingsTab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import VarePlugin from 'src/main';
import { PluginData, PluginInfo } from './SettingsInterface';
import { PluginDataModal } from 'src/modals/PluginDataModal';
import { fetchCommmunityPluginList, fetchManifest, fetchReleases } from 'src/util/GitHub';
import { TroubleshootingModal } from 'src/modals/TroubleshootingModal';
import { PluginTroubleshootingModal } from 'src/modals/PluginTroubleshootingModal';

export class VareSettingTab extends PluginSettingTab {
plugin: VarePlugin;
Expand Down Expand Up @@ -166,7 +166,7 @@ export class VareSettingTab extends PluginSettingTab {
.setTooltip('Troubleshoot plugin.')
.setWarning()
.onClick(() => {
new TroubleshootingModal(this.plugin, plugin, result => {
new PluginTroubleshootingModal(this.plugin, plugin, result => {
this.pluginsList.every((value, index, array) => {
if (value.id === result.id) {
array[index] = result;
Expand Down

0 comments on commit d0df258

Please sign in to comment.