MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / #applySettings

Method #applySettings

src/lib/settings.js:401–418  ·  view source on GitHub ↗
(setting)

Source from the content-addressed store, hash-verified

399 }
400
401 #applySettings(setting) {
402 switch (setting) {
403 case "animation":
404 this.applyAnimationSetting();
405 break;
406
407 case "uiZoom":
408 this.applyUiZoomSetting();
409 break;
410
411 case "lang":
412 this.applyLangSetting();
413 break;
414
415 default:
416 break;
417 }
418 }
419
420 async applyAnimationSetting() {
421 let value = this.value.animation;

Callers 1

updateMethod · 0.95

Calls 3

applyAnimationSettingMethod · 0.95
applyUiZoomSettingMethod · 0.95
applyLangSettingMethod · 0.95

Tested by

no test coverage detected