Skip to content

Commit 3ec7c13

Browse files
Minor tweaks to TableView
1 parent b75b965 commit 3ec7c13

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
7 Bytes
Binary file not shown.

Checkroutine/Checkroutine/CheckRoutineTableViewController.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ class CheckRoutineTableViewController: UITableViewController {
2626

2727
// Toggles cell accessoryType from checkmark to none
2828
// Maybe refactor and have a custom accessoryType
29+
2930
if let cell = tableView.cellForRow(at: indexPath) {
3031
if cell.accessoryType == .checkmark{
3132
cell.accessoryType = .none
@@ -42,7 +43,7 @@ class CheckRoutineTableViewController: UITableViewController {
4243

4344
override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
4445

45-
return 5
46+
return 3
4647
}
4748

4849
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {

0 commit comments

Comments
 (0)