Previous recordings detail view template

This commit is contained in:
relikd
2020-04-06 23:37:46 +02:00
parent 515c296b26
commit 647eca310f
7 changed files with 197 additions and 73 deletions

View File

@@ -53,6 +53,10 @@ class TVCPreviousRecords: UITableViewController {
let target = segue.destination as! VCEditRecording
target.record = record
target.deleteOnCancel = newlyCreated
} else if segue.identifier == "openRecordDetailsSegue" {
if let i = tableView.indexPathForSelectedRow {
(segue.destination as? TVCRecordingDetails)?.record = dataSource[i.row]
}
}
}