private void RunAnimation()
 {
     if (_isForwardInAnimation)
     {
         _isForwardInAnimation = false;
         var forwardInAnimation = TelegramTurnstileAnimations.GetAnimation(LayoutRoot, TurnstileTransitionMode.ForwardIn);
         Execute.BeginOnUIThread(forwardInAnimation.Begin);
     }
     else
     {
         LayoutRoot.Opacity = 1.0;
     }
 }
 private void RunAnimation()
 {
     if (_isForwardInAnimation)
     {
         _isForwardInAnimation = false;
         var forwardInAnimation = TelegramTurnstileAnimations.GetAnimation(LayoutRoot, TurnstileTransitionMode.ForwardIn);
         forwardInAnimation.Completed += (sender, args) =>
         {
             ViewModel.ForwardInAnimationComplete();
         };
         Execute.BeginOnUIThread(forwardInAnimation.Begin);
     }
     else
     {
         LayoutRoot.Opacity = 1.0;
     }
 }