[NUI] Fix to disable ThemeManager in tv profile
authordongsug.song <dongsug.song@samsung.com>
Wed, 6 Apr 2022 03:43:59 +0000 (12:43 +0900)
committerJaehyun Cho <jaehyun0cho@gmail.com>
Wed, 20 Apr 2022 08:38:08 +0000 (17:38 +0900)
src/Tizen.NUI/src/public/Application/NUIApplication.cs
src/Tizen.NUI/src/public/Theme/ThemeManager.cs

index a11d87c9ec85aa9afe35b58770894aaa1608f4de..06c80ab3041bf4d968ef067000db6236b49e30ea 100755 (executable)
@@ -486,7 +486,9 @@ namespace Tizen.NUI
         static public void Preload()
         {
             Interop.Application.PreInitialize();
+#if ExternalThemeEnabled
             ThemeManager.Preload();
+#endif
             IsPreload = true;
         }
 
index 998067dcc86893c310a50f8508f1de1d52f773d5..d7e85d1ff48b99b9c585fb82a3d83e9b5c1a9e7f 100755 (executable)
@@ -53,7 +53,9 @@ namespace Tizen.NUI
 
         static ThemeManager()
         {
+#if ExternalThemeEnabled
             ExternalThemeManager.Initialize();
+#endif
             AddPackageTheme(DefaultThemeCreator.Instance);
         }