Skip to content

Commit

Permalink
resolve build error from undeclared toast variable
Browse files Browse the repository at this point in the history
  • Loading branch information
oshorefueled committed Jul 26, 2021
1 parent 90aeb03 commit c0ad484
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ui/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,5 @@ func (win *Window) updateStates(update interface{}) {
}

func (win *Window) notifyOnSuccess(text string) {
win.toast = &toast{
text: text,
success: true,
}
win.load.Toast.Notify(text, true)
}

0 comments on commit c0ad484

Please sign in to comment.