File tree 2 files changed +10
-0
lines changed
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change
1
+ Bugfix: Fallback to ownCloud sidebar icons on Mac if none provided in branding
2
+
3
+ If a customer does not provide sidebar icons we use the ownCloud sidebar icons.
4
+
5
+
6
+ https://github.com/owncloud/client/pull/9381
Original file line number Diff line number Diff line change @@ -95,6 +95,10 @@ function(generate_theme TARGET OWNCLOUD_SIDEBAR_ICONS_OUT)
95
95
else ()
96
96
file (GLOB_RECURSE OWNCLOUD_SIDEBAR_ICONS "${OEM_THEME_DIR} /theme/colored/*-${APPLICATION_ICON_NAME} -icon-sidebar.png" )
97
97
endif ()
98
+ if (NOT OWNCLOUD_SIDEBAR_ICONS)
99
+ message (WARNING "The branding does not provide sidebar icons falling back to vanilla icons" )
100
+ file (GLOB_RECURSE OWNCLOUD_SIDEBAR_ICONS "${PROJECT_SOURCE_DIR} /theme/colored/*-owncloud-icon-sidebar.png" )
101
+ endif ()
98
102
set (${OWNCLOUD_SIDEBAR_ICONS_OUT} ${OWNCLOUD_SIDEBAR_ICONS} PARENT_SCOPE)
99
103
endfunction ()
100
104
You can’t perform that action at this time.
0 commit comments