AndroidAPS/app/src/main/java/info/nightscout/androidaps/activities/BolusProgressHelperActivity.kt

14 lines
495 B
Kotlin
Raw Normal View History

2019-12-20 21:52:37 +01:00
package info.nightscout.androidaps.activities
import android.os.Bundle
import info.nightscout.androidaps.dialogs.BolusProgressDialog
2020-01-26 18:17:00 +01:00
class BolusProgressHelperActivity : DialogAppCompatActivity() {
2019-12-20 21:52:37 +01:00
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
BolusProgressDialog()
2020-01-26 18:17:00 +01:00
.setHelperActivity(this)
.setInsulin(intent.getDoubleExtra("insulin", 0.0))
.show(supportFragmentManager, "BolusProgress")
2019-12-20 21:52:37 +01:00
}
}