diff --git a/pass/Controllers/PasswordDetailTableViewController.swift b/pass/Controllers/PasswordDetailTableViewController.swift index a3cce2c..b5590b9 100644 --- a/pass/Controllers/PasswordDetailTableViewController.swift +++ b/pass/Controllers/PasswordDetailTableViewController.swift @@ -268,7 +268,7 @@ class PasswordDetailTableViewController: UITableViewController, UIGestureRecogni section = TableSection(type: .addition, header: "One Time Password") section.item.append(TableCell(title: title, content: otp)) tableData.append(section) - oneTimePasswordIndexPath = IndexPath(row: 0, section: tableData.count) + oneTimePasswordIndexPath = IndexPath(row: 0, section: tableData.count - 1) } }