Forráskód Böngészése

fix: flag capitalization on documentation

Lucas Nogueira 3 éve
szülő
commit
4541eaf2cb
2 módosított fájl, 2 hozzáadás és 2 törlés
  1. 1 1
      core/tauri-utils/src/config.rs
  2. 1 1
      tooling/api/src/window.ts

+ 1 - 1
core/tauri-utils/src/config.rs

@@ -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,

+ 1 - 1
tooling/api/src/window.ts

@@ -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