Skip to content

Commit 82ca8c3

Browse files
committed
Adjust UI for Splitted Setting Window
1 parent 215f5ac commit 82ca8c3

File tree

2 files changed

+123
-74
lines changed

2 files changed

+123
-74
lines changed

Flow.Launcher/SettingPages/ViewModels/SettingsPaneThemeViewModel.cs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using System.Globalization;
44
using System.IO;
55
using System.Linq;
6+
using System.Security.Policy;
67
using System.Windows;
78
using System.Windows.Media;
89
using System.Windows.Media.Imaging;
@@ -181,12 +182,23 @@ public List<AnimationSpeed> AnimationSpeeds
181182
return speeds;
182183
}
183184
}
184-
185185
public bool UseSound
186186
{
187187
get => Settings.UseSound;
188188
set => Settings.UseSound = value;
189189
}
190+
public bool CheckMediaPlayer
191+
{
192+
get
193+
{
194+
if (Settings.WMPInstalled)
195+
{
196+
return true;
197+
}
198+
else { return false; }
199+
}
200+
set { }
201+
}
190202

191203
public double SoundEffectVolume
192204
{

0 commit comments

Comments
 (0)