Commit 0659cdb1 authored by Jose Blaya's avatar Jose Blaya

Fix wrong number of visible sections

parent fe8a483f
......@@ -187,7 +187,7 @@ extension TrustedNetworksViewController: UITableViewDelegate, UITableViewDataSou
func numberOfSections(in tableView: UITableView) -> Int {
if Client.preferences.nmtRulesEnabled {
return Client.preferences.useWiFiProtection ? Sections.countCases() : 3
return Client.preferences.useWiFiProtection ? Sections.countCases() : 4
} else {
return 1
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment