Skip to content
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

Merged
merged 1 commit into from
Jul 15, 2022

Conversation

claucambra
Copy link
Collaborator

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

@camilasan
Copy link
Member

/backport to stable-3.5

@codecov
Copy link

codecov bot commented Jul 15, 2022

Codecov Report

Merging #4720 (00ea2c4) into master (f4744eb) will increase coverage by 0.00%.
The diff coverage is n/a.

❗ Current head 00ea2c4 differs from pull request most recent head f8d79c3. Consider uploading reports for the commit f8d79c3 to get more accurate results

@@           Coverage Diff           @@
##           master    #4720   +/-   ##
=======================================
  Coverage   56.42%   56.43%           
=======================================
  Files         138      138           
  Lines       17070    17070           
=======================================
+ Hits         9632     9633    +1     
+ Misses       7438     7437    -1     
Impacted Files Coverage Δ
src/libsync/propagatedownload.cpp 65.33% <0.00%> (+0.14%) ⬆️

… types

Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
@nextcloud-desktop-bot
Copy link

AppImage file: Nextcloud-PR-4720-f8d79c389c4c15c067c1318a4f831cdf46550950-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

@sonarcloud
Copy link

sonarcloud bot commented Jul 15, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants