fix
This commit is contained in:
parent
90aebed304
commit
52e44dcc6e
|
|
@ -86,7 +86,7 @@ public class TableSection {
|
|||
|
||||
public func replace(rowAt index: Int, with row: Row) -> Bool {
|
||||
|
||||
if index > 0 && index < rows.count {
|
||||
if index >= 0 && index < rows.count {
|
||||
rows[index] = row
|
||||
return true
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue