Commit a63ba9ba authored by nk2's avatar nk2 🙃

fix

parent 4deaa028
......@@ -79,7 +79,7 @@ class PulsePresenter: MvpPresenter<PulseView>() {
ResourcesCompat.getColor(context.resources, R.color.colorPrimary, null).toColor(),
ResourcesCompat.getColor(context.resources, R.color.colorAccent, null).toColor())
counter = 0
PulseBTService.pconnection.send(1)
PulseBTService.pconnection.send("1")
updateCurrentDailydone(1)
}
}
......@@ -87,7 +87,7 @@ class PulsePresenter: MvpPresenter<PulseView>() {
}
counter == 3 -> {
counter = -1
PulseBTService.pconnection.send(0)
PulseBTService.pconnection.send("0")
viewState.changeBackgroundColor(
ResourcesCompat.getColor(context.resources, R.color.colorAccent, null).toColor(),
ResourcesCompat.getColor(context.resources, R.color.colorPrimary, null).toColor())
......
......@@ -105,8 +105,8 @@
android:layout_height="100dp"
android:layout_marginBottom="16dp"
android:layout_marginTop="16dp"
app:minValue="-1000"
app:maxValue="1000"
app:minValue="-4000"
app:maxValue="4000"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/currentValues"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment