void SetText() { UkName.Text = Settings.MobileSettings.main_name; Color hexColor = (Color)Application.Current.Resources["MainColor"]; // IconViewLogin.SetAppThemeColor(IconView.ForegroundProperty, hexColor, Color.White); //IconViewTech.SetAppThemeColor(IconView.ForegroundProperty, hexColor, Color.White); //LabelTech.SetAppThemeColor(Label.TextColorProperty, hexColor, Color.White); FrameSaldo.SetAppThemeColor(MaterialFrame.BorderColorProperty, hexColor, Color.FromHex("#494949")); FrameHistory.SetAppThemeColor(MaterialFrame.BorderColorProperty, hexColor, Color.White); }
void SetText() { UkName.Text = Settings.MobileSettings.main_name; // IconViewSortIdent.Foreground = (Color)Application.Current.Resources["MainColor"]; IconViewSortDate.ReplaceStringMap = new Dictionary <string, string> { { "#000000", $"#{Settings.MobileSettings.color}" } }; LabelDate.TextColor = hex; Color hexColor = (Color)Application.Current.Resources["MainColor"]; // IconViewLogin.SetAppThemeColor(IconView.ForegroundProperty, hexColor, Color.White); //IconViewTech.SetAppThemeColor(IconView.ForegroundProperty, hexColor, Color.White); //LabelTech.SetAppThemeColor(Label.TextColorProperty, hexColor, Color.White); FrameSaldo.SetAppThemeColor(MaterialFrame.BorderColorProperty, hexColor, Color.White); }