Try using the .task view modifier and removing the Task {} from the function instead.
Topic:
UI Frameworks
SubTopic:
General
Tags: