Skip to content

Use preprocessor directive rather than normal 'if' for UNNotification types#4720

Merged
claucambra merged 1 commit into
masterfrom
bugfix/pre-big-sur-compile
Jul 15, 2022
Merged

Use preprocessor directive rather than normal 'if' for UNNotification types#4720
claucambra merged 1 commit into
masterfrom
bugfix/pre-big-sur-compile

Conversation

@claucambra

Copy link
Copy Markdown
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
Copy Markdown
Member

/backport to stable-3.5

@claucambra claucambra force-pushed the bugfix/pre-big-sur-compile branch from 132fef1 to 00ea2c4 Compare July 15, 2022 13:25
@codecov

codecov Bot commented Jul 15, 2022

Copy link
Copy Markdown

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>
@claucambra claucambra force-pushed the bugfix/pre-big-sur-compile branch from 00ea2c4 to f8d79c3 Compare July 15, 2022 14:21
@nextcloud-desktop-bot

Copy link
Copy Markdown

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.

@sonarqubecloud

Copy link
Copy Markdown

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