Use classical for loop instead of forEach

This commit is contained in:
Maxime NATUREL 2023-01-05 15:20:20 +01:00
parent d60403545c
commit ff9e78be42
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class RoomActivePollsController @Inject constructor(
}
val host = this
data.forEach { poll ->
for (poll in data) {
activePollItem {
id(poll.id)
formattedDate(host.dateFormatter.format(poll.creationTimestamp, DateFormatKind.TIMELINE_DAY_DIVIDER))