It works, it just looks funny. If I wanted to return, is the more perferred Kotlin way to just use a simple for loop?
Copy code
for (i in 0..items.size() - 1) {
if (libraryItem.uploadedAt?.after(sevenDaysAgo.time) == true) {
sections.add(AdapterSection(i, LAST_SEVEN_DAYS))
break
}
}