Basic window handling.

This commit is contained in:
Burak Kaan Köse
2024-07-13 03:45:55 +02:00
parent ef151aa7a6
commit e6e758e9ba
17 changed files with 124 additions and 53 deletions

View File

@@ -165,8 +165,13 @@ namespace Wino.Services
// Save reference as this might be null when the user is in another app
#if NET8_0
// WinUI
#else
mainApplicationFrame = Window.Current.Content as Frame;
#endif
if (mainApplicationFrame == null) return;