mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-06 21:32:55 -04:00
This commit is contained in:
parent
98d9075639
commit
dc24a32d6a
4 changed files with 4 additions and 4 deletions
|
@ -236,7 +236,7 @@ export function migratePluginSettings(name: string, ...oldNames: string[]) {
|
|||
}
|
||||
}
|
||||
|
||||
export function migratePluginSetting(pluginName: string, oldSetting: string, newSetting: string) {
|
||||
export function migratePluginSetting(pluginName: string, newSetting: string, oldSetting: string) {
|
||||
const settings = SettingsStore.plain.plugins[pluginName];
|
||||
if (!settings) return;
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ export const settings = definePluginSettings({
|
|||
},
|
||||
showInMiniProfile: {
|
||||
type: OptionType.BOOLEAN,
|
||||
description: "Only show a button in the mini profile",
|
||||
description: "Show full ui in the mini profile instead of just a button",
|
||||
default: true
|
||||
},
|
||||
});
|
||||
|
|
|
@ -33,7 +33,7 @@ interface MessageDeleteProps {
|
|||
}
|
||||
|
||||
// Remove this migration once enough time has passed
|
||||
migratePluginSetting("NoBlockedMessages", "ignoreBlockedMessages", "ignoreMessages");
|
||||
migratePluginSetting("NoBlockedMessages", "ignoreMessages", "ignoreBlockedMessages");
|
||||
const settings = definePluginSettings({
|
||||
ignoreMessages: {
|
||||
description: "Completely ignores incoming messages from blocked and ignored (if enabled) users",
|
||||
|
|
|
@ -201,7 +201,7 @@ function toggleMessageDecorators(enabled: boolean) {
|
|||
}
|
||||
}
|
||||
|
||||
migratePluginSetting("PlatformIndicators", "badges", "profiles");
|
||||
migratePluginSetting("PlatformIndicators", "profiles", "badges");
|
||||
const settings = definePluginSettings({
|
||||
list: {
|
||||
type: OptionType.BOOLEAN,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue