Skip to content

Commit 203df8f

Browse files
committed
update method to reflect intent
1 parent 48557ae commit 203df8f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Plugins/Flow.Launcher.Plugin.WebSearch/SearchSourceSetting.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ private void OnSelectIconClick(object sender, RoutedEventArgs e)
130130
if (!string.IsNullOrEmpty(fullpathToSelectedImage))
131131
{
132132
var fullPathToOriginalImage = _searchSource.IconPath;
133-
_viewModel.UpdateIconPath(_searchSource, fullpathToSelectedImage);
133+
_viewModel.UpdateIconAttributes(_searchSource, fullpathToSelectedImage);
134134
_viewModel.CopyNewImageToUserDataDirectoryIfRequired(
135135
_searchSource, fullpathToSelectedImage, fullPathToOriginalImage);
136136
}

Plugins/Flow.Launcher.Plugin.WebSearch/SearchSourceViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public class SearchSourceViewModel : BaseModel
77
{
88
public SearchSource SearchSource { get; set; }
99

10-
public void UpdateIconPath(SearchSource selectedSearchSource, string fullpathToSelectedImage)
10+
public void UpdateIconAttributes(SearchSource selectedSearchSource, string fullpathToSelectedImage)
1111
{
1212
var parentDirectorySelectedImg = Directory.GetParent(fullpathToSelectedImage).ToString();
1313

0 commit comments

Comments
 (0)