Skip to content

Commit

Permalink
Fix compilation error in Xcode Beta 2
Browse files Browse the repository at this point in the history
  • Loading branch information
antranapp committed Jun 22, 2019
1 parent 0daf48f commit 6a2d03e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SwiftUITodo/TaskListView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ struct TaskListView: View {
TaskItemView(task: task, isEditing: self.$isEditing)
}
}
.navigationBarItem(title: Text("Tasks 👀"))
.navigationBarTitle(Text("Tasks 👀"))
.navigationBarItems(trailing: Button(action: { self.isEditing.toggle() }) {
if !self.isEditing {
Text("Edit")
Expand Down

0 comments on commit 6a2d03e

Please sign in to comment.