Move Program to application module
This commit is contained in:
parent
7e1ef7d150
commit
54f44754eb
29 changed files with 58 additions and 80 deletions
|
|
@ -7,7 +7,7 @@ use iced::widget::canvas::{
|
|||
use iced::{Element, Length, Point, Rectangle, Renderer, Subscription, Theme};
|
||||
|
||||
pub fn main() -> iced::Result {
|
||||
iced::application("Arc - Iced", Arc::update, Arc::view)
|
||||
iced::program("Arc - Iced", Arc::update, Arc::view)
|
||||
.subscription(Arc::subscription)
|
||||
.theme(|_| Theme::Dark)
|
||||
.antialiasing(true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue