Bumped version number; removed third decimal digit in clock
This commit is contained in:
parent
d37fdf4744
commit
fd60ca6dae
2 changed files with 4 additions and 3 deletions
|
@ -10,8 +10,8 @@ android {
|
|||
applicationId = "eu.mirkodi.swatchbeatclock"
|
||||
minSdk = 24
|
||||
targetSdk = 34
|
||||
versionCode = 12
|
||||
versionName = "v1.2.3"
|
||||
versionCode = 13
|
||||
versionName = "v1.2.4"
|
||||
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
|
|
@ -17,8 +17,9 @@ import java.text.DecimalFormat;
|
|||
public class ClockFragment extends Fragment {
|
||||
// settings
|
||||
private static final int UPDATEINTERVAL = 854 /* ms */; // one .beat is ~85400 ms
|
||||
private static final String DECIMALFORMAT_FORMATTER = "#.##";
|
||||
|
||||
private static final DecimalFormat df = (DecimalFormat) DecimalFormat.getInstance();
|
||||
private static final DecimalFormat df = (DecimalFormat) new DecimalFormat(DECIMALFORMAT_FORMATTER);
|
||||
|
||||
TextView clock;
|
||||
ProgressBar pBar;
|
||||
|
|
Loading…
Reference in a new issue