aboutsummaryrefslogtreecommitdiff
path: root/src/dialog.rs
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-04-13 11:34:05 +0200
committerpml68 <contact@pml68.dev>2025-04-13 11:34:05 +0200
commit4308009f15651cac832029d0d590bc4803c5ae62 (patch)
treee626e659c744c117f05d63a3a7c4bc98f9c250c4 /src/dialog.rs
parentfeat: add `backdrop` method to dialog (diff)
downloadiced_dialog-4308009f15651cac832029d0d590bc4803c5ae62.tar.gz
fix: example
Diffstat (limited to 'src/dialog.rs')
-rw-r--r--src/dialog.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialog.rs b/src/dialog.rs
index 0f70c0a..dba27f7 100644
--- a/src/dialog.rs
+++ b/src/dialog.rs
@@ -144,7 +144,7 @@ where
}
/// Extends the [`Dialog`] with the given buttons.
- pub fn extend(
+ pub fn extend_buttons(
self,
buttons: impl IntoIterator<Item = Element<'a, Message, Theme, Renderer>>,
) -> Self {