You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have my first screen showing up. From that screen I want to push a second screen.
I have code like this:
if appModel.stageViewState == .one
{
router.showScreen(.push) { router in
TestView01()
}
}
inside the body of the previous view.
I get a syntax error:
Type '()' cannot conform to 'View
Is there a better way of doing this?
Beta Was this translation helpful? Give feedback.
All reactions