Removed some old/unused settings.

This commit is contained in:
flash 2024-01-22 11:46:46 +00:00
parent 834f5cfd4b
commit 7564765317
2 changed files with 1 additions and 27 deletions

View file

@ -518,7 +518,7 @@ const UmiSettings = {
default: FUTAMI_DEBUG, default: FUTAMI_DEBUG,
}, },
{ {
id: 'openLegacyChat', id: 'openCompatClient',
name: 'Open compatibility client', name: 'Open compatibility client',
category: 'misc', category: 'misc',
type: 'button', type: 'button',
@ -558,14 +558,6 @@ const UmiSettings = {
mutable: true, mutable: true,
default: false, default: false,
}, },
{
id: 'resolveUrls',
name: 'Resolve URL meta data',
category: 'debug',
type: 'checkbox',
mutable: true,
default: false,
},
{ {
id: 'tmpDisableOldThemeSys', id: 'tmpDisableOldThemeSys',
name: 'Disable Old Theme System', name: 'Disable Old Theme System',
@ -670,20 +662,6 @@ const UmiSettings = {
Umi.Settings.remove(setting.id); Umi.Settings.remove(setting.id);
}, },
}, },
{
id: 'resetAudioContext',
name: 'Reset audio context',
category: 'debug',
type: 'button',
mutable: true,
dataType: 'void',
click: function() {
if(mami.hasAudio())
mami.getAudio().resetContext();
if(mami.hasSound())
mami.getSound().clear();
},
},
], ],
}; };

View file

@ -177,10 +177,6 @@ Umi.UI.Messages = (function() {
} }
} }
if(Umi.Settings.get('resolveUrls')) {
// todo: resolve urls
}
if(Umi.Settings.get('weeaboo')) { if(Umi.Settings.get('weeaboo')) {
eText.appendChild($t(Weeaboo.getTextSuffix(sender))); eText.appendChild($t(Weeaboo.getTextSuffix(sender)));