Skip to content

Commit 482b65e

Browse files
committed
[Tizen] Fix MauiContext
1 parent 9b9fbff commit 482b65e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Core/src/Platform/MauiContext.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ public MauiContext(IServiceProvider services, UI.Xaml.Application application, I
3838
AddSpecific(application);
3939
}
4040
#elif TIZEN
41+
public MauiContext(IServiceProvider services, Tizen.Applications.CoreUIApplication application, CoreUIAppContext context, IMauiContext? parent = null)
42+
: this(services, parent)
43+
{
44+
AddSpecific(application);
45+
AddWeakSpecific(context);
46+
AddWeakSpecific(context.MainWindow);
47+
}
48+
4149
public MauiContext(IServiceProvider services, CoreUIAppContext context, IMauiContext? parent = null)
4250
: this(services, parent)
4351
{

0 commit comments

Comments
 (0)