Skip to content

Commit

Permalink
show 'proxy on' in advanved overview
Browse files Browse the repository at this point in the history
as for the other items,
a little overview is nice
  • Loading branch information
r10s committed Nov 13, 2024
1 parent 3f6285e commit 1ad47d9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ internal final class AdvancedViewController: UITableViewController {
}()

private lazy var proxySettingsCell: UITableViewCell = {
let cell = UITableViewCell(style: .default, reuseIdentifier: nil)
let cell = UITableViewCell(style: .value1, reuseIdentifier: nil)
cell.textLabel?.text = String.localized("proxy_settings")
cell.accessoryType = .disclosureIndicator
cell.tag = CellTags.proxySettings.rawValue
Expand Down Expand Up @@ -462,6 +462,7 @@ internal final class AdvancedViewController: UITableViewController {
private func updateCells() {
showEmailsCell.detailTextLabel?.text = EmailOptionsViewController.getValString(val: dcContext.showEmails)
videoChatInstanceCell.detailTextLabel?.text = VideoChatInstanceViewController.getValString(val: dcContext.getConfig("webrtc_instance") ?? "")
proxySettingsCell.detailTextLabel?.text = dcContext.isProxyEnabled ? String.localized("on") : nil
}

// MARK: - coordinator
Expand Down

0 comments on commit 1ad47d9

Please sign in to comment.