mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
update method to reflect intent
This commit is contained in:
parent
48557aec06
commit
203df8f1ae
2 changed files with 2 additions and 2 deletions
|
|
@ -130,7 +130,7 @@ namespace Flow.Launcher.Plugin.WebSearch
|
|||
if (!string.IsNullOrEmpty(fullpathToSelectedImage))
|
||||
{
|
||||
var fullPathToOriginalImage = _searchSource.IconPath;
|
||||
_viewModel.UpdateIconPath(_searchSource, fullpathToSelectedImage);
|
||||
_viewModel.UpdateIconAttributes(_searchSource, fullpathToSelectedImage);
|
||||
_viewModel.CopyNewImageToUserDataDirectoryIfRequired(
|
||||
_searchSource, fullpathToSelectedImage, fullPathToOriginalImage);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ namespace Flow.Launcher.Plugin.WebSearch
|
|||
{
|
||||
public SearchSource SearchSource { get; set; }
|
||||
|
||||
public void UpdateIconPath(SearchSource selectedSearchSource, string fullpathToSelectedImage)
|
||||
public void UpdateIconAttributes(SearchSource selectedSearchSource, string fullpathToSelectedImage)
|
||||
{
|
||||
var parentDirectorySelectedImg = Directory.GetParent(fullpathToSelectedImage).ToString();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue