mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-15 21:53:59 +03:00
fix(docs): grammar on private API usage warning
This commit is contained in:
parent
7bba8db83e
commit
0c63595916
@ -564,7 +564,7 @@ pub struct WindowConfig {
|
||||
/// Whether the window is transparent or not.
|
||||
///
|
||||
/// Note that on `macOS` this requires the `macos-private-api` feature flag, enabled under `tauri.conf.json > tauri > macOSPrivateApi`.
|
||||
/// WARNING: Using private APIs on `macOS` prevents your application from being accepted for the `App Store`.
|
||||
/// WARNING: Using private APIs on `macOS` prevents your application from being accepted to the `App Store`.
|
||||
#[serde(default)]
|
||||
pub transparent: bool,
|
||||
/// Whether the window is maximized or not.
|
||||
|
@ -1407,7 +1407,7 @@ interface WindowOptions {
|
||||
/**
|
||||
* Whether the window is transparent or not.
|
||||
* Note that on `macOS` this requires the `macos-private-api` feature flag, enabled under `tauri.conf.json > tauri > macOSPrivateApi`.
|
||||
* WARNING: Using private APIs on `macOS` prevents your application from being accepted for the `App Store`.
|
||||
* WARNING: Using private APIs on `macOS` prevents your application from being accepted to the `App Store`.
|
||||
*/
|
||||
transparent?: boolean
|
||||
/** Whether the window should be maximized upon creation or not. */
|
||||
|
@ -571,7 +571,7 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"transparent": {
|
||||
"description": "Whether the window is transparent or not.\n\nNote that on `macOS` this requires the `macos-private-api` feature flag, enabled under `tauri.conf.json > tauri > macOSPrivateApi`. WARNING: Using private APIs on `macOS` prevents your application from being accepted for the `App Store`.",
|
||||
"description": "Whether the window is transparent or not.\n\nNote that on `macOS` this requires the `macos-private-api` feature flag, enabled under `tauri.conf.json > tauri > macOSPrivateApi`. WARNING: Using private APIs on `macOS` prevents your application from being accepted to the `App Store`.",
|
||||
"default": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user