Skip to content

Commit

Permalink
Fix deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Oct 16, 2024
1 parent 75f30e3 commit 8191814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/launcher/calc.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,5 @@ func (i *calcItem) Title() string {
}

func (i *calcItem) Launch() {
fyne.CurrentApp().Driver().AllWindows()[0].Clipboard().SetContent(i.result)
fyne.CurrentApp().Clipboard().SetContent(i.result)
}

0 comments on commit 8191814

Please sign in to comment.