Commit 67f17c9c authored by shigemi miura's avatar shigemi miura

QRコードでのログイン不具合修正(ユーザー名入力前にログインしていた)

文字列不具合修正
parent 0f9dd65e
......@@ -69,7 +69,7 @@ struct AboutAppView: View {
NavigationLink {
LocalWebView(policy: .constant(.TermsOfUse))
} label: {
Text("Terms Of Use")
Text("Terms of Use")
.font(FontStyle.EmphasisText.font)
.foregroundColor(ColorSet.Body.color)
......
......@@ -152,10 +152,12 @@ struct LoginView: View {
loginViewParam.shipId = Preferences.Id
loginViewParam.password = Preferences.Password
loginViewParam.deviceid = Preferences.DeviceId
loginViewParam.userName = Preferences.UserName
// loginViewParam.userName = Preferences.UserName
let login = ReqLogin(Id: Preferences.Id, Password: Preferences.Password, DeviceId: Preferences.DeviceId, UserName: Preferences.UserName)
sessionLogin.RequestLogin(login, completion: responseQrLogin)
viewMode = .InputUserName
isProgressView = false
// let login = ReqLogin(Id: Preferences.Id, Password: Preferences.Password, DeviceId: Preferences.DeviceId, UserName: Preferences.UserName)
// sessionLogin.RequestLogin(login, completion: responseQrLogin)
}
func LoginCheck() -> () {
......
......@@ -62,7 +62,7 @@ enum MenuPath: String, Hashable{
case .Help:
"Help"
case .AboutApp:
"About this App"
"About This App"
case .ContactUs:
"Contact Us"
case .SignOut:
......
......@@ -70,7 +70,7 @@ struct MenuAboutAppView: View {
NavigationLink {
LocalWebView(policy: .constant(.TermsOfUse))
} label: {
Text("Terms Of Use")
Text("Terms of Use")
.font(FontStyle.EmphasisText.font)
.foregroundColor(ColorSet.Body.color)
......
......@@ -37,15 +37,10 @@ struct MenuManualECDISView: View {
Spacer()
}
.background(ColorSet.BackgroundPrimary.color)
.alert("delete", isPresented: $isAlert) {
Button(role: .destructive) {
} label: {
Text("delete")
}
.alert("Error", isPresented: $isAlert) {
Button("OK") {}
} message: {
Text("eca delete")
Text("Network Error")
}
}
}
......
......@@ -38,15 +38,10 @@ struct MenuManualRADARView: View {
Spacer()
}
.background(ColorSet.BackgroundPrimary.color)
.alert("delete", isPresented: $isAlert) {
Button(role: .destructive) {
} label: {
Text("delete")
}
.alert("Error", isPresented: $isAlert) {
Button("OK") {}
} message: {
Text("eca delete")
Text("Network Error")
}
}
}
......
......@@ -65,15 +65,10 @@ struct MenuManualView: View {
Spacer()
}
.background(ColorSet.BackgroundPrimary.color)
.alert("delete", isPresented: $isAlert) {
Button(role: .destructive) {
} label: {
Text("delete")
}
.alert("Error", isPresented: $isAlert) {
Button("OK") {}
} message: {
Text("eca delete")
Text("Network Error")
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment