Skip to content

Commit

Permalink
feat: [ANDROAPP-5794] ktlint
Browse files Browse the repository at this point in the history
  • Loading branch information
xavimolloy committed Feb 23, 2024
1 parent afd699e commit ad6d60d
Showing 1 changed file with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,16 @@ fun ProvideInputDate(
},
)
}
val yearIntRange = if (fieldUiModel.allowFutureDates == true) IntRange(1924, 2124) else (IntRange(1924,
Calendar.getInstance()[Calendar.YEAR]
))
val yearIntRange = if (fieldUiModel.allowFutureDates == true) {
IntRange(1924, 2124)
} else {
(
IntRange(
1924,
Calendar.getInstance()[Calendar.YEAR],
)
)
}
val selectableDates = if (fieldUiModel.allowFutureDates == true) {
SelectableDates(initialDate = DEFAULT_MIN_DATE, endDate = DEFAULT_MAX_DATE)
} else {
Expand Down

0 comments on commit ad6d60d

Please sign in to comment.