Skip to content

Commit ed11cc2

Browse files
committed
Use ResultCopy to support files
1 parent f992729 commit ed11cc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Flow.Launcher/PublicAPIInstance.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public void ShellRun(string cmd, string filename = "cmd.exe")
118118

119119
public void CopyToClipboard(string text)
120120
{
121-
Clipboard.SetDataObject(text);
121+
_mainVM.ResultCopy(text);
122122
}
123123

124124
public void StartLoadingBar() => _mainVM.ProgressBarVisibility = Visibility.Visible;

0 commit comments

Comments
 (0)