feat(main): main function is async now
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user