mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 20:29:10 +03:00
Use classical for loop instead of forEach
This commit is contained in:
parent
d60403545c
commit
ff9e78be42
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue