From 488c8e81b8541b48c973c4dc923148fb0d17e23e Mon Sep 17 00:00:00 2001
From: Garulf <535299+Garulf@users.noreply.github.com>
Date: Sun, 4 Jun 2023 17:13:48 -0400
Subject: [PATCH] Update docstring
---
Flow.Launcher/ViewModel/MainViewModel.cs | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/Flow.Launcher/ViewModel/MainViewModel.cs b/Flow.Launcher/ViewModel/MainViewModel.cs
index 5486b41fb..8529df7b3 100644
--- a/Flow.Launcher/ViewModel/MainViewModel.cs
+++ b/Flow.Launcher/ViewModel/MainViewModel.cs
@@ -1104,12 +1104,11 @@ namespace Flow.Launcher.ViewModel
}
///
- /// This is the global copy method for an individual result. If no text is passed,
- /// the method will work out what is to be copied based on the result, so plugin can offer the text
- /// to be copied via the result model. If the text is a directory/file path,
- /// then actual file/folder will be copied instead.
- /// The result's subtitle text is the default text to be copied
+ /// Copies the specified file or folder path to the clipboard, or the specified text if it is not a valid file or folder path.
+ /// Shows a message indicating whether the operation was completed successfully.
///
+ /// The file or folder path, or text to copy to the clipboard.
+ /// Nothing.
public void ResultCopy(string stringToCopy)
{
if (string.IsNullOrEmpty(stringToCopy))