Remove sandbox by making application more generic 🎉
This commit is contained in:
parent
0a24611ccd
commit
28a27f08ed
23 changed files with 80 additions and 111 deletions
|
|
@ -7,7 +7,7 @@ use iced::{Alignment, Element, Length, Subscription, Theme};
|
|||
use std::time::{Duration, Instant};
|
||||
|
||||
pub fn main() -> iced::Result {
|
||||
iced::sandbox("Stopwatch - Iced", Stopwatch::update, Stopwatch::view)
|
||||
iced::application("Stopwatch - Iced", Stopwatch::update, Stopwatch::view)
|
||||
.subscription(Stopwatch::subscription)
|
||||
.theme(Stopwatch::theme)
|
||||
.run()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue