void UpdateTitle() { string title = _title?.Replace("&", "&") .Replace("<", "<") .Replace(">", ">") .Replace(Environment.NewLine, "<br>"); _layout.SetPartText("elm.text.title", title); }
void UpdateTitle() { if (!_isProgressRunning) { _layout.SetPartText("elm.text.title", _title); } else { _layout.SetPartText("elm.text.title", null); } }
void UpdateTitle() { string title = _title?.Replace("&", "&") .Replace("<", "<") .Replace(">", ">") .Replace(Environment.NewLine, "<br>"); if (!_isProgressRunning) { _layout.SetPartText("elm.text.title", title); } else { _layout.SetPartText("elm.text.title", null); } }
void UpdateTitle() { _layout.SetPartText("elm.text.title", _title); }