mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-22 16:49:22 -05:00
Docs: Correct default value for silent
field
- Updated comments to reflect that the default value for `silent` is `null`, not `false`.
This commit is contained in:
parent
9cb0e386aa
commit
4ff32e7dce
1 changed files with 2 additions and 2 deletions
|
@ -276,7 +276,7 @@ pub struct UseWebNotificationOptions {
|
|||
renotify: bool,
|
||||
|
||||
/// A boolean value specifying whether the notification should be silent, regardless of the device settings.
|
||||
/// The default is `false`, which means the notification is not silent. If `true`, then the notification will be silent.
|
||||
/// The default is `null`, which means the notification is not silent. If `true`, then the notification will be silent.
|
||||
#[builder(into)]
|
||||
silent: Option<bool>,
|
||||
|
||||
|
@ -411,7 +411,7 @@ pub struct ShowOptions {
|
|||
renotify: Option<bool>,
|
||||
|
||||
/// A boolean value specifying whether the notification should be silent, regardless of the device settings.
|
||||
/// The default is `false`, which means the notification is not silent. If `true`, then the notification will be silent.
|
||||
/// The default is `null`, which means the notification is not silent. If `true`, then the notification will be silent.
|
||||
#[builder(into)]
|
||||
silent: Option<bool>,
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue