fix: storage changes calling bgdurations incorrectly

This commit is contained in:
sethburkart123
2024-06-09 14:53:44 +10:00
parent 168d1013be
commit 5169deafe6
+1 -5
View File
@@ -25,7 +25,7 @@ export class StorageChangeHandler {
settingsState.register('shortcuts', this.handleShortcutsChange.bind(this));
settingsState.register('customshortcuts', this.handleCustomShortcutsChange.bind(this));
settingsState.register('notificationcollector', this.handleNotificationCollectorChange.bind(this));
settingsState.register('bksliderinput', this.handleBksliderInputChange.bind(this));
settingsState.register('bksliderinput', updateBgDurations.bind(this));
settingsState.register('animatedbk', this.handleAnimatedBkChange.bind(this));
settingsState.register('transparencyEffects', this.handleTransparencyEffectsChange.bind(this));
}
@@ -86,10 +86,6 @@ export class StorageChangeHandler {
RemoveShortcutDiv(removedShortcuts);
}
private handleBksliderInputChange(newValue: string) {
updateBgDurations(newValue);
}
private handleAnimatedBkChange(newValue: boolean) {
if (newValue) {
CreateBackground();