File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Sources/ObservableField/Lists/Adapter Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ where ODS: ObservableDataSourceSubscribe,
153153
154154 open func insertCells( at indexPaths: [ IndexPath ] ) {
155155 func action( ) {
156- self . tableView? . insertRows ( at: indexPaths, with: . top )
156+ self . tableView? . insertRows ( at: indexPaths, with: . automatic )
157157 }
158158
159159 if self . isCollectingBatchUpdate {
@@ -167,7 +167,7 @@ where ODS: ObservableDataSourceSubscribe,
167167
168168 open func reloadCells( at indexPaths: [ IndexPath ] ) {
169169 func action( ) {
170- self . tableView? . reloadRows ( at: indexPaths, with: . fade )
170+ self . tableView? . reloadRows ( at: indexPaths, with: . automatic )
171171 }
172172
173173 if self . isCollectingBatchUpdate {
@@ -181,7 +181,7 @@ where ODS: ObservableDataSourceSubscribe,
181181
182182 open func deleteCells( at indexPaths: [ IndexPath ] ) {
183183 func action( ) {
184- self . tableView? . deleteRows ( at: indexPaths, with: . top )
184+ self . tableView? . deleteRows ( at: indexPaths, with: . automatic )
185185 }
186186
187187 if self . isCollectingBatchUpdate {
You can’t perform that action at this time.
0 commit comments