Skip to content

Commit 7362bd2

Browse files
Remove LocationConverter
1 parent 7bc4cfb commit 7362bd2

File tree

3 files changed

+1
-36
lines changed

3 files changed

+1
-36
lines changed

Plugins/Flow.Launcher.Plugin.Program/LocationConverter.cs

Lines changed: 0 additions & 33 deletions
This file was deleted.

Plugins/Flow.Launcher.Plugin.Program/ViewModels/AddProgramSourceViewModel.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ public void Browse()
101101

102102
public (bool, string) UpdateProgramSource()
103103
{
104-
// Separate checks to avoid changing UniqueIdentifier of UWP when changing Enabled
105104
if (LocationModified)
106105
{
107106
if (!Directory.Exists(Location))

Plugins/Flow.Launcher.Plugin.Program/Views/ProgramSetting.xaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
55
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
66
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
7-
xmlns:program="clr-namespace:Flow.Launcher.Plugin.Program"
87
Height="520"
98
DataContext="{Binding RelativeSource={RelativeSource Self}}"
109
mc:Ignorable="d">
@@ -172,7 +171,7 @@
172171
<GridViewColumn Width="550" Header="{DynamicResource flowlauncher_plugin_program_location}">
173172
<GridViewColumn.CellTemplate>
174173
<DataTemplate>
175-
<TextBlock Text="{Binding Location, ConverterParameter=(null), Converter={program:LocationConverter}}" />
174+
<TextBlock Text="{Binding Location}" />
176175
</DataTemplate>
177176
</GridViewColumn.CellTemplate>
178177
</GridViewColumn>

0 commit comments

Comments
 (0)