fixed animations
All checks were successful
Copy Files to Samba Share dev / Copy Files (push) Successful in 25s

This commit is contained in:
2024-11-07 18:07:36 +01:00
parent bc82aeb1a0
commit 045bb89702

View File

@@ -56,7 +56,7 @@ export class ToggleComponent {
const newValue = !this.isDarkMode();
setTimeout(() => {
this.toggleOn.emit(newValue);
}, this.isDarkMode() ? 670 : 535);
}, this.isDarkMode() ? 670 : 350);
setTimeout(() => {
this.isDarkMode.set(!this.isDarkMode());