Skip to content
Open
Changes from all commits
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 Recordings-MVC/Recordings/FolderViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ class FolderViewController: UITableViewController {

// Handle changes to contents
if let changeReason = userInfo[Item.changeReasonKey] as? String {
let oldValue = userInfo[Item.newValueKey]
let newValue = userInfo[Item.oldValueKey]
let newValue = userInfo[Item.newValueKey]
let oldValue = userInfo[Item.oldValueKey]
switch (changeReason, newValue, oldValue) {
case let (Item.removed, _, (oldIndex as Int)?):
tableView.deleteRows(at: [IndexPath(row: oldIndex, section: 0)], with: .right)
Expand Down