summaryrefslogtreecommitdiff
path: root/theme_test
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-04-15 01:44:00 +0200
committerpml68 <contact@pml68.dev>2025-04-15 23:53:07 +0200
commitde43465ddb50dd6b0c44d8de7a05aa16ba38d312 (patch)
tree14204074c61c29edfb6c877f25cb4f3094e112db /theme_test
parentfeat(PKGBUILD): update pkgver fn, dependencies (diff)
downloadiced-builder-de43465ddb50dd6b0c44d8de7a05aa16ba38d312.tar.gz
chore(deps): update `iced_dialog`
Diffstat (limited to 'theme_test')
-rw-r--r--theme_test/src/main.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/theme_test/src/main.rs b/theme_test/src/main.rs
index 9826fe9..bcf16de 100644
--- a/theme_test/src/main.rs
+++ b/theme_test/src/main.rs
@@ -126,12 +126,9 @@ impl State {
let dialog =
dialog(self.show_dialog, base, iced::widget::text("Say Hi!"))
.title("This is a Dialog.")
- .push_button(
- iced_dialog::button("Hi!").on_press(Message::CloseDialog),
- )
- .backdrop(|theme| theme.colorscheme.scrim)
+ .push_button(iced_dialog::button("Hi!", Message::CloseDialog))
.width(280)
- .height(187);
+ .height(186);
Animation::new(&self.theme, dialog)
.on_update(Message::SwitchTheme)