aboutsummaryrefslogtreecommitdiff
path: root/src/dialog.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/dialog.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/dialog.rs b/src/dialog.rs
index 90ca0cd..def4194 100644
--- a/src/dialog.rs
+++ b/src/dialog.rs
@@ -15,8 +15,12 @@ use iced_widget::{
///
/// [`buttons`]: Dialog::with_buttons
/// [`title`]: Dialog::title
-pub struct Dialog<'a, Message, Theme, Renderer>
-where
+pub struct Dialog<
+ 'a,
+ Message,
+ Theme = iced_widget::Theme,
+ Renderer = iced_widget::Renderer,
+> where
Renderer: 'a + core::text::Renderer,
Theme: 'a + Catalog,
{