fix: flag capitalization on documentation

This commit is contained in:
Lucas Nogueira 2022-03-29 10:43:59 -03:00
parent be07343b52
commit 4541eaf2cb
No known key found for this signature in database
GPG Key ID: FFEA6C72E73482F1
2 changed files with 2 additions and 2 deletions

View File

@ -560,7 +560,7 @@ pub struct WindowConfig {
pub focus: bool,
/// 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`.
/// 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`.
#[serde(default)]
pub transparent: bool,

View File

@ -1225,7 +1225,7 @@ interface WindowOptions {
focus?: boolean
/**
* 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`.
* 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`.
*/
transparent?: boolean