ktlintFormat

This commit is contained in:
Andrei Vereha 2021-10-24 23:50:21 +02:00
parent 64682d01fc
commit 75f51b1408
2 changed files with 1 additions and 4 deletions

View file

@ -31,5 +31,4 @@ data class HistoryRecordEntity(
fun isSuccess(): Boolean { fun isSuccess(): Boolean {
return initialResult == InitialResult.SENT && resolvedResult == ResolvedResult.SUCCESS return initialResult == InitialResult.SENT && resolvedResult == ResolvedResult.SUCCESS
} }
} }

View file

@ -56,7 +56,7 @@ class DashPodHistoryActivity : NoSplashAppCompatActivity() {
} }
private fun groupForCommandType(type: OmnipodCommandType): PumpHistoryEntryGroup { private fun groupForCommandType(type: OmnipodCommandType): PumpHistoryEntryGroup {
return when(type) { return when (type) {
OmnipodCommandType.INITIALIZE_POD -> OmnipodCommandType.INITIALIZE_POD ->
PumpHistoryEntryGroup.Prime PumpHistoryEntryGroup.Prime
OmnipodCommandType.INSERT_CANNULA -> OmnipodCommandType.INSERT_CANNULA ->
@ -242,7 +242,6 @@ class DashPodHistoryActivity : NoSplashAppCompatActivity() {
} }
else -> else ->
"" ""
} }
} }
@ -290,7 +289,6 @@ class DashPodHistoryActivity : NoSplashAppCompatActivity() {
} }
companion object { companion object {
private var selectedGroup: PumpHistoryEntryGroup = PumpHistoryEntryGroup.All private var selectedGroup: PumpHistoryEntryGroup = PumpHistoryEntryGroup.All
} }
} }