Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Source/Rows/Controllers/SelectorViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ open class _SelectorViewController<Row: SelectableRowType, OptionsRow: OptionsPr
}
}
}
for option in options {
section <<< Row.init(String(describing: option)) { lrow in
for (index, option) in options.enumerated() {
section <<< Row.init(String(index)) { lrow in
lrow.title = self.row.displayValueFor?(option)
lrow.selectableValue = option
lrow.value = self.row.value == option ? option : nil
Expand Down