Skip to content

Commit

Permalink
Pressing reset button sets the countdown time to the current state ra…
Browse files Browse the repository at this point in the history
…ther than leaving it as the time remaining when stopped
  • Loading branch information
simontrimmer committed Feb 12, 2014
1 parent 7b17c38 commit 44be935
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.urbanmyth.ndcalc"
android:versionCode="5"
android:versionName="1.2" >
android:versionCode="6"
android:versionName="1.3" >

<uses-sdk
android:minSdkVersion="14"
Expand Down
2 changes: 1 addition & 1 deletion src/org/urbanmyth/ndcalc/NDCalcFragment.java
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ public void onClick(View v)
mTimerRunning = false;
mStartStopButton.setText(R.string.start);
mTimerCallbackHandler.removeCallbacks(mTimerCallbackRunnable); // Stop timer
mHoursMinutesSeconds.setTextColor(Color.RED);
onSomethingChanged();
mRemainingTimeInSeconds = 0;
if (mWakeLock.isHeld())
mWakeLock.release();
Expand Down

0 comments on commit 44be935

Please sign in to comment.