From 8d30b4a850161071136caa08c74f0d2325b118ef Mon Sep 17 00:00:00 2001 From: Nicholas Tay Date: Sat, 19 Mar 2022 13:59:21 +1100 Subject: Add back in RefreshControl Missed in when ripping out storyboard --- foray/ForayTableViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'foray') diff --git a/foray/ForayTableViewController.swift b/foray/ForayTableViewController.swift index c9e055a..a7581d2 100644 --- a/foray/ForayTableViewController.swift +++ b/foray/ForayTableViewController.swift @@ -66,7 +66,7 @@ class ForayTableViewController: UITableViewController { dismiss(animated: false, completion: nil) - // Not 100% sure what this does (the for: bit) + self.refreshControl = UIRefreshControl() self.refreshControl?.addTarget(self, action: #selector(doRefresh), for: UIControl.Event.valueChanged) } -- cgit