feat(main): main function is async now
This commit is contained in:
parent
b7b890ecb3
commit
0aab9e9ebe
|
@ -9,7 +9,8 @@ mod view;
|
|||
use controller::*;
|
||||
use view::view::*;
|
||||
|
||||
fn main() {
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
let app: adw::Application = adw::Application::builder()
|
||||
.application_id("com.github.gtk-rs.examples.basic")
|
||||
.build();
|
||||
|
|
Loading…
Reference in New Issue