Fix inactive action buttons
This commit is contained in:
parent
d1d71e4900
commit
b64b938f78
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user