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

Handle SVG branded clients #2844

Merged
merged 4 commits into from
Jan 20, 2021
Merged

Handle SVG branded clients #2844

merged 4 commits into from
Jan 20, 2021

Conversation

er-vin
Copy link
Member

@er-vin er-vin commented Jan 20, 2021

Now that brander can tell us is customers use PNG or SVG for their branding we better use this than rely on our old heuristic which was forcing PNG as soon as the client is branded.

Kevin Ottens added 2 commits January 20, 2021 10:10
Somehow this was missing

Signed-off-by: Kevin Ottens <[email protected]>
Also mention the svg possibly used in the wizard

Signed-off-by: Kevin Ottens <[email protected]>
src/libsync/theme.cpp Outdated Show resolved Hide resolved
src/libsync/theme.cpp Outdated Show resolved Hide resolved
src/libsync/theme.cpp Outdated Show resolved Hide resolved
src/libsync/theme.cpp Outdated Show resolved Hide resolved
Kevin Ottens added 2 commits January 20, 2021 15:09
We now favor APPLICATION_ICON_SET to isBranded() regarding the decision
to use PNG or SVG for icons.

Signed-off-by: Kevin Ottens <[email protected]>
@er-vin er-vin force-pushed the handle_svg_branded_clients branch from 75d408e to 471bb25 Compare January 20, 2021 14:12
@er-vin er-vin requested a review from allexzander January 20, 2021 14:12
@nextcloud-desktop-bot
Copy link

AppImage file: Nextcloud-PR-2844-471bb25e62c6748d656b6cdc627ec1beadd070e9-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.

@er-vin er-vin merged commit 7f51355 into master Jan 20, 2021
@er-vin er-vin deleted the handle_svg_branded_clients branch January 20, 2021 15:08
@er-vin
Copy link
Member Author

er-vin commented Jan 20, 2021

/backport to stable-3.1

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