Browse Source
Update src/Avalonia.Controls/Platform/PlatformManager.cs
Co-authored-by: Max Katz <maxkatz6@outlook.com>
pull/9898/head
Simon Cropp
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Controls/Platform/PlatformManager.cs
|
|
|
@ -21,7 +21,7 @@ namespace Avalonia.Controls.Platform |
|
|
|
} |
|
|
|
|
|
|
|
public static ITrayIconImpl? CreateTrayIcon() => |
|
|
|
s_designerMode ? null : AvaloniaLocator.Current.GetRequiredService<IWindowingPlatform>().CreateTrayIcon(); |
|
|
|
s_designerMode ? null : AvaloniaLocator.Current.GetService<IWindowingPlatform>()?.CreateTrayIcon(); |
|
|
|
|
|
|
|
|
|
|
|
public static IWindowImpl CreateWindow() |
|
|
|
|