Check type of launch config (#2125)
* Check type of launch config * fix cargo check * compile when using an explicit platform with other platforms enabled * fix formatting * fix overlapping TryIntoConfig implementations * fix desktop headless tests --------- Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
This commit is contained in:
1 parent
44f3047780
commit
86d1dba699
5 files changed
+125
-43
No files matched your search
@@ -4,7 +4,7 @@
|
||||
use dioxus::prelude::*;
|
||||
|
||||
fn main() {
|
||||
LaunchBuilder::desktop()
|
||||
LaunchBuilder::new()
|
||||
.with_cfg(
|
||||
dioxus::desktop::Config::new().with_custom_index(
|
||||
r#"
|
||||
|
||||
Reference in new issue
Block a user