Skip to content

Commit

Permalink
Remove pointless button
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippMDoerner committed Jun 15, 2024
1 parent e119fe7 commit 506bfb5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions examples/widgets/adw/toast_overlay.nim
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,6 @@ method view(app: AppState): Widget =
let toasts = (0..2).mapIt(buildToast(app, "Toast title", ToastPriorityNormal))
app.toastQueue.add(toasts)

Button() {.addRight.}:
text = "Redraw"
proc clicked() =
discard app.redraw()

Box(orient = OrientY):
ToastOverlay():
toastQueue = app.toastQueue
Expand Down

0 comments on commit 506bfb5

Please sign in to comment.