diff options
author | sr55 <[email protected]> | 2017-08-18 21:50:54 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2017-08-18 21:50:54 +0100 |
commit | 63add3c308571c1018fd1f8801100ead98e989b4 (patch) | |
tree | 65830fd0bbe9d5504038dcf176a579029abf0a2f /win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs | |
parent | a5d09db0caec7c880e9b280d72a2fafeb122815b (diff) |
WinGui: Make the app UWP aware. When in a UWP container, the update options will now be disabled.
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs index 5d936be0c..5f3241a12 100644 --- a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs @@ -162,6 +162,14 @@ namespace HandBrakeWPF.ViewModels #region Properties
+ public bool IsUWP
+ {
+ get
+ {
+ return UwpDetect.IsUWP();
+ }
+ }
+
#region General
/// <summary>
|