fix: regressions

This commit is contained in:
cogwheel0
2025-08-28 19:17:05 +05:30
parent 729ab45ee7
commit a686d8d6a8
6 changed files with 90 additions and 0 deletions

View File

@@ -382,6 +382,15 @@ class _AnimatedThemeWrapperState extends State<AnimatedThemeWrapper>
super.deactivate();
}
@override
void activate() {
super.activate();
// If a theme transition was in progress, resume it
if (_controller.value < 1.0 && !_controller.isAnimating) {
_controller.forward();
}
}
@override
Widget build(BuildContext context) {
return AnimatedBuilder(