Add screenshot helpers to iced_test

This commit is contained in:
Héctor Ramón Jiménez 2025-11-12 00:53:10 +01:00
parent ea614387f4
commit 085c8fae8d
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
10 changed files with 183 additions and 78 deletions

View file

@ -20,7 +20,8 @@ pub fn main() -> iced::Result {
application().run()
}
fn application() -> Application<impl Program<Message = Message>> {
fn application() -> Application<impl Program<Message = Message, Theme = Theme>>
{
iced::application(Todos::new, Todos::update, Todos::view)
.subscription(Todos::subscription)
.title(Todos::title)