Closed kycuff closed 3 weeks ago
Description
After switching theme with .Net Maui causes the animation to no longer work but after an app restart it works.
Where the lottie animation should render there is just a blank space but there are no errors or no crashes.
IOS appears to be ok and it is just Android with the issue.
Code All the code does is switch out the ResourceDictionary that is used.
Application.Current!.Resources = themeSwitch.IsToggled ? new DarkTheme() : new LightTheme();
Expected Behavior
Would still expect the lottie animation to play after changing the theme.
Actual Behavior
Basic Information
Reproduction Link
https://github.com/kycuff/LottieIssueApp
Description
After switching theme with .Net Maui causes the animation to no longer work but after an app restart it works.
Where the lottie animation should render there is just a blank space but there are no errors or no crashes.
IOS appears to be ok and it is just Android with the issue.
Code All the code does is switch out the ResourceDictionary that is used.
Expected Behavior
Would still expect the lottie animation to play after changing the theme.
Actual Behavior
Where the lottie animation should render there is just a blank space but there are no errors or no crashes.
Basic Information
Reproduction Link
https://github.com/kycuff/LottieIssueApp