apprt/gtk: remove redundant adwaita check

We already check if the toast overlay exists before sending a toast.

Signed-off-by: Tristan Partin <tristan@partin.io>
This commit is contained in:
Tristan Partin
2024-09-16 15:42:38 -05:00
parent 4f2c1d1b10
commit 2ad4dcdc01

View File

@ -727,9 +727,7 @@ fn gtkActionCopy(
return; return;
}; };
if (self.isAdwWindow()) { self.sendToast("Copied to clipboard");
self.sendToast("Copied to clipboard");
}
} }
fn gtkActionPaste( fn gtkActionPaste(