Skip to content

Commit

Permalink
feat: add ability to delete mobileprovison + fix watchplaceholder
Browse files Browse the repository at this point in the history
  • Loading branch information
khcrysalis committed Sep 28, 2024
1 parent e7012d7 commit 581b4ea
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions iOS/Views/Apps/Signing/AppSigningAdvancedViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,17 @@ class AppSigningAdvancedViewController: UITableViewController {

let removeWatchPlaceHolder = SwitchViewCell()
removeWatchPlaceHolder.textLabel?.text = String.localized("APP_SIGNING_INPUT_VIEW_CONTROLLER_REMOVE_DELETE_PLACEHOLDER_WATCH_APP")
removeWatchPlaceHolder.switchControl.addTarget(self, action: #selector(forceForceFullScreenToggled(_:)), for: .valueChanged)
removeWatchPlaceHolder.switchControl.addTarget(self, action: #selector(removePlaceHolderWatchExtension(_:)), for: .valueChanged)
removeWatchPlaceHolder.switchControl.isOn = appSigningViewController.removeWatchPlaceHolder
removeWatchPlaceHolder.selectionStyle = .none
cellsForSection2.append(removeWatchPlaceHolder)

// let removeProvisioningFile = SwitchViewCell()
// removeProvisioningFile.textLabel?.text = "Remove Provisioning File"
// removeProvisioningFile.switchControl.addTarget(self, action: #selector(removeProvisioningFile(_:)), for: .valueChanged)
// removeProvisioningFile.switchControl.isOn = appSigningViewController.removeProvisioningFile
// removeProvisioningFile.selectionStyle = .none
// cellsForSection2.append(removeProvisioningFile)
let removeProvisioningFile = SwitchViewCell()
removeProvisioningFile.textLabel?.text = "Remove Provisioning File"
removeProvisioningFile.switchControl.addTarget(self, action: #selector(removeProvisioningFile(_:)), for: .valueChanged)
removeProvisioningFile.switchControl.isOn = appSigningViewController.removeProvisioningFile
removeProvisioningFile.selectionStyle = .none
cellsForSection2.append(removeProvisioningFile)
}

override func numberOfSections(in tableView: UITableView) -> Int {
Expand Down

0 comments on commit 581b4ea

Please sign in to comment.