Merge branch 'fix_inactive_action_buttons' into 'master'
Fix inactive action buttons Closes #1938 See merge request fdroid/fdroidclient!871
This commit is contained in:
		
						commit
						bc36e92731
					
				@ -189,6 +189,8 @@ public abstract class AppListItemController extends RecyclerView.ViewHolder {
 | 
				
			|||||||
    public void bindModel(@NonNull App app) {
 | 
					    public void bindModel(@NonNull App app) {
 | 
				
			||||||
        currentApp = app;
 | 
					        currentApp = app;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        if (actionButton != null) actionButton.setEnabled(true);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (app.iconUrl == null) {
 | 
					        if (app.iconUrl == null) {
 | 
				
			||||||
            try {
 | 
					            try {
 | 
				
			||||||
                icon.setImageDrawable(activity.getPackageManager().getApplicationIcon(app.packageName));
 | 
					                icon.setImageDrawable(activity.getPackageManager().getApplicationIcon(app.packageName));
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user