From 506bfb517f47cd48550af2b0f86bf2d3df8ed747 Mon Sep 17 00:00:00 2001 From: PhilippMDoerner Date: Sat, 15 Jun 2024 15:42:19 +0200 Subject: [PATCH] Remove pointless button --- examples/widgets/adw/toast_overlay.nim | 5 ----- 1 file changed, 5 deletions(-) diff --git a/examples/widgets/adw/toast_overlay.nim b/examples/widgets/adw/toast_overlay.nim index 1b181c8..2fb7927 100644 --- a/examples/widgets/adw/toast_overlay.nim +++ b/examples/widgets/adw/toast_overlay.nim @@ -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