Capitalize mode value in ice metadata

This commit is contained in:
Héctor Ramón Jiménez 2025-08-20 14:43:37 +02:00
parent c8ccba5535
commit b20168b614
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
3 changed files with 7 additions and 8 deletions

View file

@ -586,10 +586,7 @@ fn presets() -> impl Iterator<Item = iced::application::Preset<Todos, Message>>
[
Preset::new("Empty", || {
(
Todos::Loading,
Command::done(Message::Loaded(Err(LoadError::File))),
)
(Todos::Loaded(State::default()), Command::none())
}),
Preset::new("Carl Sagan", || {
(