Skip to content

Commit

Permalink
0.17.9: fix shortcuts for 10.15
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiayang committed May 22, 2022
1 parent c1883a7 commit cfc66a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions MoeStreamer.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.15;
MARKETING_VERSION = 0.17.8;
MARKETING_VERSION = 0.17.9;
PRODUCT_BUNDLE_IDENTIFIER = com.zhiayang.MoeStreamer;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "";
Expand Down Expand Up @@ -708,7 +708,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.15;
MARKETING_VERSION = 0.17.8;
MARKETING_VERSION = 0.17.9;
PRODUCT_BUNDLE_IDENTIFIER = com.zhiayang.MoeStreamer;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "";
Expand Down
2 changes: 1 addition & 1 deletion MoeStreamer/src/ui/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class ViewController : NSObject, NSPopoverDelegate
popover.behavior = .transient
popover.delegate = self

if #available(macOS 11.0, *)
if #unavailable(macOS 11.0)
{
popover.keydownHandler = { (event) in
switch event.characters?.first?.asciiValue
Expand Down

0 comments on commit cfc66a2

Please sign in to comment.