|
@@ -160,7 +160,7 @@ import Foundation
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
- @objc func reloadItemAt(indexPath: IndexPath) -> [tableMetadata] {
|
|
|
+ @objc func reloadItemAt(indexPath: IndexPath, with createMetadatas: Bool) -> [tableMetadata] {
|
|
|
let row = indexPath.row
|
|
|
|
|
|
if row > self.metadatas.count - 1 {
|
|
@@ -170,6 +170,10 @@ import Foundation
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ if createMetadatas {
|
|
|
+ self.createMetadatas(metadatasSource: metadatas)
|
|
|
+ }
|
|
|
+
|
|
|
return metadatas
|
|
|
}
|
|
|
|