private void Page_Loaded(object sender, RoutedEventArgs e) { string latest_tag = updater.getLatestTag(); string latest_description = updater.getLatestTagDescription(); if (latest_tag == string.Empty) { latest_tag = "0.0.0"; } if (latest_description == string.Empty) { latest_description = "N/A"; } buildVersion.Text = "v" + latest_tag; buildChanges.Text = latest_description; }
private void Page_Loaded(object sender, RoutedEventArgs e) { buildVersion.Text = "v" + updater.getLatestTag(); buildChanges.Text = updater.getLatestTagDescription(); }