Skip to content

Commit

Permalink
Fix deprecation.
Browse files Browse the repository at this point in the history
  • Loading branch information
BarkyTheDog committed Mar 28, 2020
1 parent 8973208 commit 770a44a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LauncherApp/LauncherViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ - (IBAction)browseAction:(id)sender
[openDialog setDirectoryURL:[NSURL URLWithString:@"/Applications"]];
[openDialog setAllowedFileTypes:[NSArray arrayWithObjects:@"app", nil]];

if ([openDialog runModal] == NSOKButton)
if ([openDialog runModal] == NSModalResponseOK)
{
NSArray *urls = [openDialog URLs];
NSString *path = [urls objectAtIndex:0];
Expand Down

0 comments on commit 770a44a

Please sign in to comment.