In loginView, it goes as,
if self.username == storedUsername && self.PIN == storedPIN {
self.authenticationDidSucceed = true
self.authenticationDidFail = false
} else {
self.authenticationDidFail = true
self.authenticationDidSucceed = false
}
}) {
LoginButtonContent()
}
}
Please check these variables so as to initiate Navigation Link between these logInView, AcceptedMainView and nonAuthView in these variables authenticationDidSucceed, authenticationDidFail.
In
loginView, it goes as,Please check these variables so as to initiate Navigation Link between these logInView, AcceptedMainView and nonAuthView in these variables
authenticationDidSucceed,authenticationDidFail.