Skip to content

Commit

Permalink
Fix notification sounds not playing on macOS 10.14+
Browse files Browse the repository at this point in the history
Fixes #33
  • Loading branch information
joelekstrom committed Mar 13, 2021
1 parent ff9dcd0 commit ba784b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Fastmate.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 1.6.4;
MARKETING_VERSION = 1.6.5;
PRODUCT_BUNDLE_IDENTIFIER = io.ekstrom.Fastmate;
PRODUCT_NAME = "$(TARGET_NAME)";
};
Expand All @@ -364,7 +364,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 1.6.4;
MARKETING_VERSION = 1.6.5;
PRODUCT_BUNDLE_IDENTIFIER = io.ekstrom.Fastmate;
PRODUCT_NAME = "$(TARGET_NAME)";
};
Expand Down
1 change: 1 addition & 0 deletions Fastmate/NotificationCenter.m
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ - (void)postNotificationWithIdentifier:(NSString *)identifier title:(NSString *)
UNMutableNotificationContent *content = [UNMutableNotificationContent new];
content.title = title;
content.subtitle = body;
content.sound = UNNotificationSound.defaultSound;

UNNotificationRequest *request = [UNNotificationRequest requestWithIdentifier:identifier
content:content
Expand Down

0 comments on commit ba784b9

Please sign in to comment.