change cloud icon of auto upload to account color

This commit is contained in:
tobiasKaminsky 2017-06-13 12:04:31 +02:00
parent 7beb773170
commit 7e22e01c9f
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -195,7 +195,8 @@ public class FolderSyncAdapter extends SectionedRecyclerViewAdapter<FolderSyncAd
private void setSyncButtonActiveIcon(ImageButton syncStatusButton, boolean enabled) {
if(enabled) {
syncStatusButton.setImageDrawable(DisplayUtils.tintDrawable(R.drawable.ic_cloud_sync_on, R.color.primary));
syncStatusButton.setImageDrawable(DisplayUtils.tintDrawable(R.drawable.ic_cloud_sync_on,
DisplayUtils.primaryColor()));
} else {
syncStatusButton.setImageResource(R.drawable.ic_cloud_sync_off);
}