Skip to content

Commit 8669dc0

Browse files
committed
Bug fix: Crash when resuming community tab skeleton animations
1 parent ae38029 commit 8669dc0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

gamevault/UserControls/CommunityUserControl.xaml.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ private void InitUserLoadingAnimation()
5656
{
5757
try
5858
{
59+
if (skeletonAnimation != null)
60+
return; //Already initialized
61+
5962
ViewModel.LoadingUser = true;
6063
skeletonAnimation = (Storyboard)FindResource("SkeletonLoadingAnimation");
6164
Style? skeletonBorderStyle = FindResource("SkeletonBorderStyle") as Style;

0 commit comments

Comments
 (0)