diff --git a/Example/MainWindow.xaml b/Example/MainWindow.xaml
index acb1c3e..da1d518 100644
--- a/Example/MainWindow.xaml
+++ b/Example/MainWindow.xaml
@@ -5,8 +5,8 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
xmlns:local="clr-namespace:Example"
- xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:md="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:prism="http://prismlibrary.com/"
Title="MainWindow"
Width="800"
@@ -26,35 +26,80 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Example/MainWindowViewModel.cs b/Example/MainWindowViewModel.cs
index 76fac69..0de749d 100644
--- a/Example/MainWindowViewModel.cs
+++ b/Example/MainWindowViewModel.cs
@@ -2,6 +2,7 @@
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Input;
+using Katteker;
using MaterialDesignThemes.Wpf;
using Prism.Commands;
using Prism.Mvvm;
@@ -11,20 +12,41 @@ namespace Example
[JetBrains.Annotations.UsedImplicitly]
public class MainWindowViewModel : BindableBase, IDisposable
{
+ private bool _showRestartAppDialog;
+ private UpdateManager _updateManager;
+
public MainWindowViewModel()
{
+ _updateManager = UpdateManager.Create();
UpdateCommand = new DelegateCommand(async x => await UpdateAsync(x).ConfigureAwait(false));
+ RestartAppDialogCommand = new DelegateCommand