Merge pull request #4924 from nextcloud/theming_auto_upload

fix wrong sync status in auto upload on white theming
This commit is contained in:
Andy Scherzinger 2019-12-03 13:54:02 +01:00 committed by GitHub
commit cd86ff16c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -461,7 +461,7 @@ public class SyncedFolderAdapter extends SectionedRecyclerViewAdapter<SectionedV
private void setSyncButtonActiveIcon(ImageButton syncStatusButton, boolean enabled) {
if (enabled) {
syncStatusButton.setImageDrawable(ThemeUtils.tintDrawable(R.drawable.ic_cloud_sync_on,
ThemeUtils.primaryColor(context)));
ThemeUtils.primaryColor(context, true)));
} else {
syncStatusButton.setImageResource(R.drawable.ic_cloud_sync_off);
}