Archived
1
0
This repository has been archived on 2026-04-22. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
FoxTube/FoxTube/Views/SettingsSections/About.xaml.cs
T
2019-12-02 16:52:49 +03:00

28 lines
693 B
C#

using FoxTube.Core.Helpers;
using System;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace FoxTube.Views.SettingsSections
{
/// <summary>
/// About page
/// </summary>
public sealed partial class About : Page
{
public About()
{
InitializeComponent();
version.Text = Metrics.CurrentVersion;
copyrights.Text = copyrights.Text.Replace("[year]", DateTime.Today.Year.ToString());
if (Feedback.HasFeedbackHub)
feedback.Visibility = Visibility.Visible;
}
void OpenFeedbackHub(object sender, RoutedEventArgs e) =>
Feedback.OpenFeedbackHub();
}
}