Skip to content

Commit

Permalink
Fix stop info load
Browse files Browse the repository at this point in the history
  • Loading branch information
ztimms73 committed May 18, 2023
1 parent f18a845 commit d33a071
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class RouteOnStopPresenter(
private fun getTimes(typeDay: Int, routeId: Int): Single<Times> {
return Single.fromCallable {
db.scheduleDao().getArrivalTime(typeDay, routeId, stop.stopId)
.map { it.arrivalTime + ":" + it.arrivalTime }
.map { it.arrivalTime }
}.subscribeOn(Schedulers.io())
.map { Times(it) }
}
Expand Down

0 comments on commit d33a071

Please sign in to comment.