首页三个入口合并为一个面板
This commit is contained in:
@@ -18,9 +18,11 @@ class ViewController: UIViewController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private let menuItems: [[MenuItem]] = [
|
private let menuItems: [[MenuItem]] = [
|
||||||
[MenuItem(icon: "note.text", iconColor: .systemYellow, title: "打开备忘录")],
|
[
|
||||||
[MenuItem(icon: "doc.text", iconColor: .systemBlue, title: "格式化日志")],
|
MenuItem(icon: "note.text", iconColor: .systemYellow, title: "打开备忘录"),
|
||||||
[MenuItem(icon: "text.alignleft", iconColor: .systemGreen, title: "格式化笔记")]
|
MenuItem(icon: "doc.text", iconColor: .systemBlue, title: "格式化日志"),
|
||||||
|
MenuItem(icon: "text.alignleft", iconColor: .systemGreen, title: "格式化笔记")
|
||||||
|
]
|
||||||
]
|
]
|
||||||
|
|
||||||
override func viewDidLoad() {
|
override func viewDidLoad() {
|
||||||
|
|||||||
Reference in New Issue
Block a user