Quick fixes for S&T #27
+11
-1
@@ -1,6 +1,16 @@
|
|||||||
|
use dioxus::prelude::*;
|
||||||
use mumble_web2_gui::{app, imp::Platform, imp::PlatformInterface as _};
|
use mumble_web2_gui::{app, imp::Platform, imp::PlatformInterface as _};
|
||||||
|
|
||||||
pub fn main() {
|
pub fn main() {
|
||||||
Platform::init_logging();
|
Platform::init_logging();
|
||||||
dioxus::launch(app::app);
|
dioxus::LaunchBuilder::new()
|
||||||
|
.with_cfg(desktop! {
|
||||||
|
dioxus::desktop::Config::new().with_window(
|
||||||
|
dioxus::desktop::WindowBuilder::new()
|
||||||
|
.with_title("Mumble Web 2")
|
||||||
|
.with_min_inner_size(dioxus::desktop::LogicalSize::new(600.0, 300.0))
|
||||||
|
.with_inner_size(dioxus::desktop::LogicalSize::new(900.0, 700.0)),
|
||||||
|
)
|
||||||
|
})
|
||||||
|
.launch(app::app);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user