mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-23 09:09:21 -05:00
Merge pull request #147 from Baptistemontan/fix_non_exhaustive
fixed an error for a match on a non exhaustive enum
This commit is contained in:
commit
5d1d8ad28f
1 changed files with 1 additions and 1 deletions
|
@ -481,7 +481,7 @@ impl From<web_sys::NotificationPermission> for NotificationPermission {
|
||||||
web_sys::NotificationPermission::Default => Self::Default,
|
web_sys::NotificationPermission::Default => Self::Default,
|
||||||
web_sys::NotificationPermission::Granted => Self::Granted,
|
web_sys::NotificationPermission::Granted => Self::Granted,
|
||||||
web_sys::NotificationPermission::Denied => Self::Denied,
|
web_sys::NotificationPermission::Denied => Self::Denied,
|
||||||
web_sys::NotificationPermission::__Nonexhaustive => Self::Default,
|
_ => Self::Default,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue