Skip to content

Commit

Permalink
Fix deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Oct 18, 2024
1 parent e0ed133 commit f801dbb
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 f801dbb

Please sign in to comment.