Skip to content

Commit

Permalink
fix: typo in window’s set_subtitle fn (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
alopix authored Jul 15, 2024
1 parent e3bbb93 commit 7ffe398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/appkit/window/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ impl<T> Window<T> {
/// underlying window. When this property is an empty string, the system removes the subtitle
/// from the window layout. Allocates and passes an `NSString` over to the Objective C runtime.
/// Does nothing when less than version 11.
pub fn set_subtittle(&self, subtitle: &str) {
pub fn set_subtitle(&self, subtitle: &str) {
if !os::is_minimum_version(11) {
return;
}
Expand Down

0 comments on commit 7ffe398

Please sign in to comment.