-
Notifications
You must be signed in to change notification settings - Fork 801
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use preprocessor directive rather than normal 'if' for UNNotification types #4720
Conversation
/backport to stable-3.5 |
132fef1
to
00ea2c4
Compare
Codecov Report
@@ Coverage Diff @@
## master #4720 +/- ##
=======================================
Coverage 56.42% 56.43%
=======================================
Files 138 138
Lines 17070 17070
=======================================
+ Hits 9632 9633 +1
+ Misses 7438 7437 -1
|
… types Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
00ea2c4
to
f8d79c3
Compare
AppImage file: Nextcloud-PR-4720-f8d79c389c4c15c067c1318a4f831cdf46550950-x86_64.AppImage |
Kudos, SonarCloud Quality Gate passed! |
While in #4563 we added an if statement to only send UNNotification types depending on the macOS version it seems that one of the values we used is not available at all on prior macOS versions.
This preprocessor directive should therefore fix compile on macOS 10.14-10.15