Nikita Tsukanov 2 years ago
parent
commit
797def7d55

+ 2 - 2
src/Android/Avalonia.Android/AvaloniaView.cs

@@ -67,7 +67,7 @@ namespace Avalonia.Android
                     _timerSubscription = timer.SubscribeView(this);
                     _timerSubscription = timer.SubscribeView(this);
                 }
                 }
 
 
-                _root.Renderer.Start();
+                _root.StartRendering();
 
 
                 if (_view.TryGetFeature<IInsetsManager>(out var insetsManager) == true)
                 if (_view.TryGetFeature<IInsetsManager>(out var insetsManager) == true)
                 {
                 {
@@ -76,7 +76,7 @@ namespace Avalonia.Android
             }
             }
             else
             else
             {
             {
-                _root.Renderer.Stop();
+                _root.StopRendering();
                 _timerSubscription?.Dispose();
                 _timerSubscription?.Dispose();
             }
             }
         }
         }

+ 1 - 1
src/iOS/Avalonia.iOS/AvaloniaView.cs

@@ -38,7 +38,7 @@ namespace Avalonia.iOS
 
 
             _topLevel.Prepare();
             _topLevel.Prepare();
 
 
-            _topLevel.Renderer.Start();
+            _topLevel.StartRendering();
 
 
             var l = (CAEAGLLayer)Layer;
             var l = (CAEAGLLayer)Layer;
             l.ContentsScale = UIScreen.MainScreen.Scale;
             l.ContentsScale = UIScreen.MainScreen.Scale;