Skip to content

Commit

Permalink
Fixed date displaying on check rules screen
Browse files Browse the repository at this point in the history
  • Loading branch information
pucherd committed Jun 28, 2023
1 parent 613f74b commit c3ead0c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ public class SettingsAdapter(
binding.date.text = item.date?.let {
LocalDateTime.ofInstant(item.date, ZoneId.systemDefault()).formatDateTime()
} ?: "N/A"
binding.date.text = item.staticDate?.let {
getString(it)
if (item.staticDate != null) {
binding.date.text = getString(item.staticDate)
}
}
}
Expand Down

0 comments on commit c3ead0c

Please sign in to comment.