Skip to content

Commit

Permalink
feat: update UITableViewDataSource in ProtocolViewController
Browse files Browse the repository at this point in the history
  • Loading branch information
jurajhilje committed Oct 11, 2023
1 parent 685f11d commit 25094f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ extension ProtocolViewController {

cell.setup(connectionProtocol: connectionProtocol, isSettings: indexPath.section > 0)

if !validateMultiHop(connectionProtocol: connectionProtocol) || !validateCustomDNS(connectionProtocol: connectionProtocol) || !validateAntiTracker(connectionProtocol: connectionProtocol) || !validateSecureDNS(connectionProtocol: connectionProtocol) || !validateKillSwitch(connectionProtocol: connectionProtocol) {
if !validateMultiHop(connectionProtocol: connectionProtocol) || !validateCustomDNS(connectionProtocol: connectionProtocol) || !validateAntiTracker(connectionProtocol: connectionProtocol) || !validateSecureDNS(connectionProtocol: connectionProtocol) || !validateKillSwitch(connectionProtocol: connectionProtocol) || !validateV2ray(connectionProtocol: connectionProtocol) {
cell.protocolLabel.textColor = UIColor.init(named: Theme.ivpnLabel6)
} else {
cell.protocolLabel.textColor = UIColor.init(named: Theme.ivpnLabelPrimary)
Expand Down

0 comments on commit 25094f9

Please sign in to comment.