Issue #599
Specify tag
enum Authentication: Int, Codable {
case key
case certificate
}
TabView(selection: $authentication) {
KeyAuthenticationView()
.tabItem {
Text("๐ Key")
}
.tag(Authentication.key)
CertificateAuthenticationView()
.tabItem {
Text("๐ฐ Certificate")
}
.tag(Authentication.certificate)
}