This commit is contained in:
wiecktobi 2020-06-11 20:25:36 +02:00
parent 7efd7ec891
commit d9ee892c76

View File

@ -178,9 +178,11 @@ class MainActivity : AppCompatActivity() {
val entries = response.body()!!.records.entries val entries = response.body()!!.records.entries
if (!entries.isEmpty()) { if (!entries.isEmpty()) {
entries.forEach { entries.forEach {
recordList.add(RecordEntry(it.startdate.substring(11, 16) if (it.type.equals("PAID")) {
, it.enddate.substring(11, 16) recordList.add(RecordEntry(it.startdate.substring(11, 16)
, it.duration)) , it.enddate.substring(11, 16)
, it.duration))
}
} }
} else { } else {