添加格式化日志页面跳转
This commit is contained in:
@@ -81,8 +81,14 @@ extension ViewController: UITableViewDelegate {
|
||||
tableView.deselectRow(at: indexPath, animated: true)
|
||||
|
||||
let item = menuItems[indexPath.section][indexPath.row]
|
||||
if item.title == "打开备忘录" {
|
||||
switch item.title {
|
||||
case "打开备忘录":
|
||||
openSystemNotesApp()
|
||||
case "格式化日志":
|
||||
let viewController = FormatLogViewController()
|
||||
navigationController?.pushViewController(viewController, animated: true)
|
||||
default:
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user