Skip to content

Commit

Permalink
chore: disable this for now
Browse files Browse the repository at this point in the history
  • Loading branch information
khcrysalis committed Jan 20, 2025
1 parent 9b04852 commit 991e375
Showing 1 changed file with 2 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ extension ServerOptionsViewController {
cell.selectionStyle = .default

case String.localized("SETTINGS_VIEW_CONTROLLER_CELL_UPDATE_LOCAL_CERTIFICATE"):
cell.textLabel?.textColor = .tintColor
cell.textLabel?.textColor = UIColor.systemGray
cell.setAccessoryIcon(with: "signature")
cell.selectionStyle = .default
cell.isUserInteractionEnabled = false
default:
break
}
Expand All @@ -109,21 +109,6 @@ extension ServerOptionsViewController {
case String.localized("SETTINGS_VIEW_CONTROLLER_CELL_RESET_CONFIGURATION"):
resetConfigDefault()

case String.localized("SETTINGS_VIEW_CONTROLLER_CELL_UPDATE_LOCAL_CERTIFICATE"):
generate_root_ca_pair("server")
var installer: Installer?
do {
installer = try Installer(
path: nil,
metadata: AppData(id: "", version: Int(1), name: "")
)

UIApplication.shared.open(installer!.pongEndpoint)
} catch {
installer?.shutdownServer()
installer = nil
}


default:
break
Expand Down

0 comments on commit 991e375

Please sign in to comment.