Skip to content

Commit bcdcba1

Browse files
author
Yair Aichenbaum
committed
Started getting ready for v0.7.3
1 parent c370fa8 commit bcdcba1

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

Files.Package/Package.appxmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" xmlns:desktop4="http://schemas.microsoft.com/appx/manifest/desktop/windows10/4" xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10" xmlns:uap5="http://schemas.microsoft.com/appx/manifest/uap/windows10/5" IgnorableNamespaces="uap uap5 mp rescap desktop4 desktop">
3-
<Identity Name="FilesUWP" Publisher="CN=Luke Blevins" Version="0.7.2.0" />
3+
<Identity Name="FilesUWP" Publisher="CN=Luke Blevins" Version="0.7.3.0" />
44
<Properties>
55
<DisplayName>Files UWP - Preview</DisplayName>
66
<PublisherDisplayName>FilesUWP</PublisherDisplayName>

Files/App.xaml.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
using Microsoft.AppCenter;
77
using Microsoft.AppCenter.Analytics;
88
using Microsoft.AppCenter.Crashes;
9+
using Microsoft.Toolkit.Uwp.Helpers;
910
using NLog;
1011
using System;
1112
using System.Collections.Generic;
@@ -186,6 +187,9 @@ public static IReadOnlyList<ContentDialog> FindDisplayedContentDialogs<T>()
186187
/// <param name="e">Details about the launch request and process.</param>
187188
protected override void OnLaunched(LaunchActivatedEventArgs e)
188189
{
190+
//start tracking app usage
191+
SystemInformation.TrackAppUse(e);
192+
189193
Logger.Info("App launched");
190194

191195
bool canEnablePrelaunch = Windows.Foundation.Metadata.ApiInformation.IsMethodPresent("Windows.ApplicationModel.Core.CoreApplication", "EnablePrelaunch");

Files/Views/Pages/ModernShellPage.xaml.cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using Files.Interacts;
33
using Files.UserControls;
44
using Files.View_Models;
5+
using Microsoft.Toolkit.Uwp.Helpers;
56
using Microsoft.Toolkit.Uwp.UI.Controls;
67
using System;
78
using System.Linq;
@@ -36,6 +37,18 @@ public ModernShellPage()
3637
App.CurrentInstance.NavigationToolbar.PathControlDisplayText = "New tab";
3738
App.CurrentInstance.NavigationToolbar.CanGoBack = false;
3839
App.CurrentInstance.NavigationToolbar.CanGoForward = false;
40+
41+
if (SystemInformation.IsAppUpdated)
42+
{
43+
var dialog = new ContentDialog()
44+
{
45+
Title = "What's new in v0.7.3",
46+
Content = "• We are starting to test a brand new design, this is still in the early stages so make sure to send us any feedback on GitHub. \n• We fixed an issue where a swipe gesture was having unexpected side effects. \n• We started work on layout modes, it is not fully functional yet and we will improve it in future updates.",
47+
PrimaryButtonText = "Lets go!"
48+
};
49+
50+
dialog.ShowAsync();
51+
}
3952
}
4053

4154
Type IShellPage.CurrentPageType => ItemDisplayFrame.SourcePageType;

0 commit comments

Comments
 (0)