mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-06-23 07:10:11 -04:00
Fix inactive action buttons
This commit is contained in:
@@ -189,6 +189,8 @@ public abstract class AppListItemController extends RecyclerView.ViewHolder {
|
||||
public void bindModel(@NonNull App app) {
|
||||
currentApp = app;
|
||||
|
||||
if (actionButton != null) actionButton.setEnabled(true);
|
||||
|
||||
if (app.iconUrl == null) {
|
||||
try {
|
||||
icon.setImageDrawable(activity.getPackageManager().getApplicationIcon(app.packageName));
|
||||
|
||||
Reference in New Issue
Block a user