Skip to content

Instantly share code, notes, and snippets.

@laevandus
Last active Nov 30, 2019
Embed
What would you like to do?
struct LoginView: View {
@EnvironmentObject var appFlowCoordinator: AppFlowCoordinator
var body: some View {
ZStack {
Button(action: appFlowCoordinator.showMainView) {
Text("Login")
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment