This patch:
- Resolves https://jira.sec.samsung.net/browse/TNINE-392
Change-Id: Ie1eb61a7a05397bab79efe9f3b712a608bb22c02
Signed-off-by: Anuj Kumar Singh <anujk.singh@samsung.com>
{
static View mMainView;
static TextLabel mBtMessage = null;
+ private static bool isLightTheme => ThemeManager.PlatformThemeId == "org.tizen.default-light-theme";
public static void CreateBtMessageView(View view)
{
{
if (mMainView)
{
- return mMainView;
+ mMainView = null;
}
mMainView = new View()
};
onOffItem.Label.HorizontalAlignment = HorizontalAlignment.Begin;
+ if (isLightTheme)
+ {
+ onOffItem.Label.TextColor = Color.Black;
+ }
+ else
+ {
+ onOffItem.Label.TextColor = Color.White;
+ }
+
var onOffSwitch = new Switch()
{
IsSelected = BtModel.IsEnabled,