Fix missing Subscription type in iced_web
This commit is contained in:
parent
0f2e20f5e5
commit
9ca65c9f18
5 changed files with 47 additions and 3 deletions
|
|
@ -146,12 +146,12 @@ pub trait Application: Sized {
|
|||
/// It should probably be that last thing you call in your `main` function.
|
||||
///
|
||||
/// [`Application`]: trait.Application.html
|
||||
fn run(settings: Settings)
|
||||
fn run(_settings: Settings)
|
||||
where
|
||||
Self: 'static,
|
||||
{
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
<Instance<Self> as iced_winit::Application>::run(settings.into());
|
||||
<Instance<Self> as iced_winit::Application>::run(_settings.into());
|
||||
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
<Instance<Self> as iced_web::Application>::run();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue