From: dongsug.song Date: Wed, 6 Apr 2022 03:43:59 +0000 (+0900) Subject: [NUI] Fix to disable ThemeManager in tv profile X-Git-Tag: submit/tizen/20220420.085640~1^2~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=592a619157968c82b53504639e67a2175acd410f;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] Fix to disable ThemeManager in tv profile --- diff --git a/src/Tizen.NUI/src/public/Application/NUIApplication.cs b/src/Tizen.NUI/src/public/Application/NUIApplication.cs index a11d87c9e..06c80ab30 100755 --- a/src/Tizen.NUI/src/public/Application/NUIApplication.cs +++ b/src/Tizen.NUI/src/public/Application/NUIApplication.cs @@ -486,7 +486,9 @@ namespace Tizen.NUI static public void Preload() { Interop.Application.PreInitialize(); +#if ExternalThemeEnabled ThemeManager.Preload(); +#endif IsPreload = true; } diff --git a/src/Tizen.NUI/src/public/Theme/ThemeManager.cs b/src/Tizen.NUI/src/public/Theme/ThemeManager.cs index 998067dcc..d7e85d1ff 100755 --- a/src/Tizen.NUI/src/public/Theme/ThemeManager.cs +++ b/src/Tizen.NUI/src/public/Theme/ThemeManager.cs @@ -53,7 +53,9 @@ namespace Tizen.NUI static ThemeManager() { +#if ExternalThemeEnabled ExternalThemeManager.Initialize(); +#endif AddPackageTheme(DefaultThemeCreator.Instance); }