One of the issues is caused by the friendManager parameter being private
@StateObject var friendManager: FriendManager
And for the other, maybe you have forgotten to import MapKit?
import MapKit
Post
Replies
Boosts
Views
Activity
There's no reference to the todos in the lists view. Both views just show all the lists and all of the todos. This is why regardless of what list is selected, all todos are displayed. What you need to do is pass the list object into the todos view and access the todos for the list from there and when adding a new todo to a list, you need to add it to do the respective list item.
I've implemented something like this before in my apps Aside and Deadlines, take a look at the source code for an example.
Perhaps if you are using core data, you are forgetting to call the save() function on the managedObjectContext variable?
try? moc.save()