Skip to content

Commit

Permalink
Merge pull request #321 from pennlabs/laundry_fix
Browse files Browse the repository at this point in the history
lanudry fix
  • Loading branch information
dlakata committed Jan 30, 2016
2 parents f789ee3 + da22ff3 commit 9d688a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public View getView(int position, View view, ViewGroup parent) {
TextView description = (TextView) view.findViewById(R.id.laundry_machine_description);
Switch mSwitch = (Switch) view.findViewById(R.id.laundry_notification_button);

if (machine.available && machine.getTimeInMilli() > 0) {
if (machine.available) {
description.setText(R.string.laundry_available);
mSwitch.setVisibility(View.GONE);
} else {
Expand Down

0 comments on commit 9d688a5

Please sign in to comment.