     }
   }
 
-  func setupSettingTableView() {
+  func setupSettingsTableView() {
     settingsTableView.topAnchor.constraint(equalTo: view.topAnchor).isActive = true
     settingsTableView.leftAnchor.constraint(equalTo: view.leftAnchor).isActive = true
+    settingsTableView.bottomAnchor.constraint(equalTo: view.bottomAnchor).isActive = true
+    settingsTableView.rightAnchor.constraint(equalTo: view.rightAnchor).isActive = true
   }
 }
 

class SettingsViewController: UIViewController {

  var settingsTableView: UITableView = {
    let tableView = UITableView()
    tableView.translatesAutoresizingMaskIntoConstraints = false
    return tableView
  }()


    view.addSubview(settingsTableView)

    setupSettingsTableView()
  }

  override func viewWillAppear(_ animated: Bool) {
