Skip to content

Commit

Permalink
use entries instead of values()
Browse files Browse the repository at this point in the history
  • Loading branch information
westnordost authored Oct 22, 2024
1 parent cdc80a6 commit 804b3f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import de.westnordost.streetcomplete.quests.AImageListQuestForm

class AddPowerAttachmentForm : AImageListQuestForm<PowerAttachment, PowerAttachment>() {

override val items = PowerAttachment.values().map { it.asItem() }
override val items = PowerAttachment.entries.map { it.asItem() }
override val itemsPerRow = 3

override fun onClickOk(selectedItems: List<PowerAttachment>) {
Expand Down

0 comments on commit 804b3f2

Please sign in to comment.