Skip to content

Commit

Permalink
Rename a to aboutInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
tulpenkiste committed Dec 17, 2024
1 parent 61ce7df commit 4cd4867
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/desktop/src-tauri/src/menu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub(crate) fn create_menu(app: &mut App) -> Result<Menu<Wry>, Box<dyn std::error
"amycatgirl".to_string(),
];

let a = AboutMetadata {
let aboutInfo = AboutMetadata {
name: Some("Upryzing".to_string()),
version: Some("0.0.1".to_string()),
short_version: Some("0.0.1".to_string()),
Expand All @@ -27,7 +27,7 @@ pub(crate) fn create_menu(app: &mut App) -> Result<Menu<Wry>, Box<dyn std::error
};

let seperator = PredefinedMenuItem::separator(handle)?;
let abt = PredefinedMenuItem::about(handle, Some("About Upryzing"), Some(a))?;
let abt = PredefinedMenuItem::about(handle, Some("About Upryzing"), Some(aboutInfo))?;

let show_i = MenuItem::with_id(handle, "show", "Show Upryzing", true, None::<&str>)?;
let quit_i = MenuItem::with_id(handle, "quit", "Quit", true, None::<&str>)?;
Expand Down

0 comments on commit 4cd4867

Please sign in to comment.