diff --git a/IdeaNote/IdeaNote/ContentView.swift b/IdeaNote/IdeaNote/ContentView.swift index 14e71b6..af134f5 100644 --- a/IdeaNote/IdeaNote/ContentView.swift +++ b/IdeaNote/IdeaNote/ContentView.swift @@ -168,7 +168,7 @@ struct NoteListRow: View { title: Text("你确定要删除此项吗?"), message: nil, buttons: [ - .destructive(Text("删除"), action: { + .default(Text("删除").foregroundColor(.yellow), action: { self.viewModel.deleteItem(item: noteModel) }), .cancel(Text("取消")),