Skip to content

Commit

Permalink
add 'learn more' button for managing keys
Browse files Browse the repository at this point in the history
  • Loading branch information
r10s committed Oct 2, 2024
1 parent 689a972 commit 47a9c9c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,10 @@ internal final class AdvancedViewController: UITableViewController {
self.present(alert, animated: true, completion: nil)
}))

alert.addAction(UIAlertAction(title: String.localized("learn_more"), style: .default, handler: { _ in
self.navigationController?.pushViewController(HelpViewController(dcContext: self.dcContext, fragment: "#importkey"), animated: true)
}))

alert.addAction(UIAlertAction(title: String.localized("cancel"), style: .cancel, handler: nil))
present(alert, animated: true, completion: nil)
}
Expand Down

0 comments on commit 47a9c9c

Please sign in to comment.