Fix compilation for Android

This commit is contained in:
2025-06-07 21:00:39 -04:00
parent 0f03096ed2
commit cf5d5051fd
2 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -7,10 +7,10 @@ import (
)
// copyString copies a string to the clipboard.
func copyString(continuous bool, copySubject string) {
func copyString(continuous bool, copySubject string) error {
clipboard.Write(clipboard.FmtText, []byte(copySubject))
if !continuous {
LaunchClipClearProcess(copySubject)
}
return nil
}