In some profile, not all 3 theme files exists.
So the patch checks file existance not to make error messages.
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
using System;
using System.Collections.Generic;
using System.ComponentModel;
+using System.IO;
using Tizen.NUI.Xaml;
using Tizen.NUI.BaseComponents;
{
string path = StyleManager.FrameworkResourcePath + "/Theme/" + project + "_" + id + ".xaml";
+ if (!File.Exists(path))
+ {
+ Tizen.Log.Info("NUI", $"\"{path}\" is not found in this profile.\n");
+ continue;
+ }
+
try
{
loaded.Merge(path);