HistoryCard: Swap short/long press

pull/1103/head
Alinson S. Xavier 4 years ago
parent a1aea532b5
commit c331f34fa9
No known key found for this signature in database
GPG Key ID: DCA0DAD4D2F58624

@ -59,7 +59,7 @@ class HistoryCardPresenter(
val screen: Screen,
) : OnDateClickedListener {
override fun onDateShortPress(date: LocalDate) {
override fun onDateLongPress(date: LocalDate) {
val timestamp = Timestamp.fromLocalDate(date)
screen.showFeedback()
if (habit.isNumerical) {
@ -83,7 +83,7 @@ class HistoryCardPresenter(
}
}
override fun onDateLongPress(date: LocalDate) {
override fun onDateShortPress(date: LocalDate) {
val timestamp = Timestamp.fromLocalDate(date)
screen.showFeedback()
if (habit.isNumerical) {

Loading…
Cancel
Save