mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 15:15:51 +03:00
change cloud icon of auto upload to account color
This commit is contained in:
parent
7beb773170
commit
7e22e01c9f
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue