Updated packages. Migrated Avalonia UI to 12.0.
This commit is contained in:
@@ -90,7 +90,9 @@ public class AnimatedMenuFlyout : MenuFlyout
|
||||
//Android (and iOS?)
|
||||
else if (Application.Current?.ApplicationLifetime is ISingleViewApplicationLifetime singleViewPlatform)
|
||||
{
|
||||
IRenderRoot? visualRoot = singleViewPlatform.MainView?.GetVisualRoot();
|
||||
//IRenderRoot? visualRoot = singleViewPlatform.MainView?.GetVisualRoot();
|
||||
|
||||
Visual? visualRoot = singleViewPlatform.MainView?.GetPresentationSource()?.RootVisual;
|
||||
|
||||
if (visualRoot is TopLevel topLevel)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user