This commit is contained in:
Milos Kozak 2021-11-08 13:37:05 +01:00
commit 22fced61fe
2 changed files with 6 additions and 2 deletions

View file

@ -168,7 +168,11 @@ class ProfileHelperActivity : NoSplashAppCompatActivity() {
binding.basalpctfromtdd.setParams(32.0, 32.0, 37.0, 1.0, DecimalFormat("0"), false, null)
binding.tdds.text = tddCalculator.stats()
binding.tdds.text = getString(R.string.tdd) + ": " + rh.gs(R.string.calculation_in_progress);
Thread {
val tdds = tddCalculator.stats()
runOnUiThread { binding.tdds.text = tdds }
}.start()
// Current profile
binding.currentProfileText.text = profileFunction.getProfileName()

View file

@ -30,7 +30,7 @@ buildscript {
dexmakerVersion = "1.2"
retrofit2Version = '2.9.0'
okhttp3Version = '4.9.0'
byteBuddyVersion = '1.11.22'
byteBuddyVersion = '1.12.0'
androidx_junit = '1.1.2'
androidx_rules = '1.4.0-alpha04'