Skip to content

Commit

Permalink
Collapsed If
Browse files Browse the repository at this point in the history
  • Loading branch information
rkodev committed Feb 19, 2019
1 parent 24f028f commit 65ff0d4
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1722,11 +1722,9 @@ private void refreshViews(View childElement) {
} else if (child instanceof MaterialSpinner) {
MaterialSpinner spinner = (MaterialSpinner) child;
spinner.setSelected(false);
} else if(child instanceof TextView){
} else if(child instanceof TextView && child.getId() == R.id.duration){
// clear duration for custom date picker
if(child.getId() == R.id.duration){
((TextView) child).setText("");
}
((TextView) child).setText("");
}
refreshViews(group.getChildAt(id));
}
Expand Down

0 comments on commit 65ff0d4

Please sign in to comment.