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/Pages/SettingsPages/About.xaml.cs
T
Michael Gordeev 14ef6fff64 - Optimization, bugfixes and refactoring
- Fixed crash when local watch history reaches 87 entries (now its capacity is 200)
- Added backward navigation to video page
- Improved authentication process
- Removed outdated logo from 'About' page and updated Twitter link
2019-05-27 21:12:48 +03:00

33 lines
974 B
C#

using Microsoft.Services.Store.Engagement;
using System;
using Windows.ApplicationModel;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace FoxTube.Pages.SettingsPages
{
/// <summary>
/// Page with general information about the app
/// </summary>
public sealed partial class About : Page
{
public About()
{
InitializeComponent();
PackageVersion ver = Package.Current.Id.Version;
version.Text = $"{ver.Major}.{ver.Minor}.{ver.Build}";
crMe.Text = crMe.Text.Insert(1, " " + DateTime.Now.Year);
crYt.Text = crYt.Text.Insert(1, " " + DateTime.Now.Year);
if (StoreServicesFeedbackLauncher.IsSupported())
feedback.Visibility = Visibility.Visible;
}
private async void Button_Click(object sender, RoutedEventArgs e)
{
await StoreServicesFeedbackLauncher.GetDefault().LaunchAsync();
}
}
}