Explorar el Código

fix(tauri-utils/config): rename WindowConfig from camelCase (#1220)

Noah Klayman hace 4 años
padre
commit
7364f97d24
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      tauri-utils/src/config.rs

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

@@ -50,6 +50,7 @@ impl<'de> Deserialize<'de> for WindowUrl {
 
 /// The window configuration object.
 #[derive(PartialEq, Deserialize, Debug, Clone)]
+#[serde(rename_all = "camelCase")]
 pub struct WindowConfig {
   #[serde(default = "default_window_label")]
   /// The window identifier.