Commit 71312f60 authored by Geoffrey Métais's avatar Geoffrey Métais

Remove logically dead code

CID #1226288
parent 205db98e
......@@ -68,7 +68,7 @@ public class JumpToTime extends ExpandableLayout {
int seconds = c.get(Calendar.SECOND);
boolean isCyclic = false;
mHourWheel.setCyclic(isCyclic);
mHourWheel.setViewAdapter(new NumericWheelAdapter(context, 0, isCyclic ? 23 : hours, "%02d"));
mHourWheel.setViewAdapter(new NumericWheelAdapter(context, 0, hours, "%02d"));
mMinWheel.setCyclic(isCyclic = isCyclic || hours > 0);
mMinWheel.setViewAdapter(new NumericWheelAdapter(context, 0, isCyclic ? 59 : minutes, "%02d"));
mSecWheel.setCyclic(isCyclic = isCyclic || minutes > 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment