We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5e27e8 commit 6fb7796Copy full SHA for 6fb7796
1 file changed
mobile/src/main/java/com/hackfsu/mobile/android/app/fragment/FeedFragment.java
@@ -142,9 +142,10 @@ public void onDataReady(List<CountdownModel> dataSet) {
142
if(dataSet.size() > 0) {
143
final CountdownModel first = dataSet.get(0);
144
145
- long until = (System.currentTimeMillis() - first.getStartTime().getTimeInMillis());
146
-
+ long until = (first.getStartTime().getTimeInMillis() - System.currentTimeMillis());
147
Log.d("initNextTimer()", "ms until: " + until);
+ until = Math.abs(until);
148
+
149
150
new CountDownTimer(until, 1000) {
151
@Override
0 commit comments