history improvements

This commit is contained in:
Sergey Solovyev 2013-06-25 18:27:16 +04:00
parent 3a67f465ea
commit 6c578d7d09

View File

@ -67,7 +67,6 @@ public class HistoryArrayAdapter extends ArrayAdapter<CalculatorHistoryState> {
final ImageView status = (ImageView) result.findViewById(R.id.history_item_status_icon); final ImageView status = (ImageView) result.findViewById(R.id.history_item_status_icon);
if (status != null) { if (status != null) {
if (state.isSaved() || isAlreadySaved(state)) { if (state.isSaved() || isAlreadySaved(state)) {
status.getDrawable().setAlpha(180);
status.setVisibility(VISIBLE); status.setVisibility(VISIBLE);
status.setOnClickListener(new View.OnClickListener() { status.setOnClickListener(new View.OnClickListener() {
@Override @Override