kotlin lint
This commit is contained in:
parent
09e4106182
commit
af0d4f23b1
1 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ class BolusWizard(val profile: Profile,
|
||||||
var insulinFromTrend = 0.0
|
var insulinFromTrend = 0.0
|
||||||
|
|
||||||
var trend = 0.0
|
var trend = 0.0
|
||||||
var carbTime = 0;
|
var carbTime = 0
|
||||||
|
|
||||||
var notes = ""
|
var notes = ""
|
||||||
var accepted = false
|
var accepted = false
|
||||||
|
@ -259,7 +259,7 @@ class BolusWizard(val profile: Profile,
|
||||||
val builder = AlertDialog.Builder(context)
|
val builder = AlertDialog.Builder(context)
|
||||||
builder.setTitle(MainApp.gs(R.string.confirmation))
|
builder.setTitle(MainApp.gs(R.string.confirmation))
|
||||||
builder.setMessage(Html.fromHtml(confirmMessage))
|
builder.setMessage(Html.fromHtml(confirmMessage))
|
||||||
builder.setPositiveButton(MainApp.gs(R.string.ok)) { dialog, id ->
|
builder.setPositiveButton(MainApp.gs(R.string.ok)) { _, _ ->
|
||||||
synchronized(builder) {
|
synchronized(builder) {
|
||||||
if (accepted) {
|
if (accepted) {
|
||||||
log.debug("guarding: already accepted")
|
log.debug("guarding: already accepted")
|
||||||
|
|
Loading…
Reference in a new issue