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

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

文字列不具合修正
parent 0f9dd65e
...@@ -69,7 +69,7 @@ struct AboutAppView: View { ...@@ -69,7 +69,7 @@ struct AboutAppView: View {
NavigationLink { NavigationLink {
LocalWebView(policy: .constant(.TermsOfUse)) LocalWebView(policy: .constant(.TermsOfUse))
} label: { } label: {
Text("Terms Of Use") Text("Terms of Use")
.font(FontStyle.EmphasisText.font) .font(FontStyle.EmphasisText.font)
.foregroundColor(ColorSet.Body.color) .foregroundColor(ColorSet.Body.color)
......
...@@ -152,10 +152,12 @@ struct LoginView: View { ...@@ -152,10 +152,12 @@ struct LoginView: View {
loginViewParam.shipId = Preferences.Id loginViewParam.shipId = Preferences.Id
loginViewParam.password = Preferences.Password loginViewParam.password = Preferences.Password
loginViewParam.deviceid = Preferences.DeviceId 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) viewMode = .InputUserName
sessionLogin.RequestLogin(login, completion: responseQrLogin) isProgressView = false
// let login = ReqLogin(Id: Preferences.Id, Password: Preferences.Password, DeviceId: Preferences.DeviceId, UserName: Preferences.UserName)
// sessionLogin.RequestLogin(login, completion: responseQrLogin)
} }
func LoginCheck() -> () { func LoginCheck() -> () {
......
...@@ -62,7 +62,7 @@ enum MenuPath: String, Hashable{ ...@@ -62,7 +62,7 @@ enum MenuPath: String, Hashable{
case .Help: case .Help:
"Help" "Help"
case .AboutApp: case .AboutApp:
"About this App" "About This App"
case .ContactUs: case .ContactUs:
"Contact Us" "Contact Us"
case .SignOut: case .SignOut:
......
...@@ -70,7 +70,7 @@ struct MenuAboutAppView: View { ...@@ -70,7 +70,7 @@ struct MenuAboutAppView: View {
NavigationLink { NavigationLink {
LocalWebView(policy: .constant(.TermsOfUse)) LocalWebView(policy: .constant(.TermsOfUse))
} label: { } label: {
Text("Terms Of Use") Text("Terms of Use")
.font(FontStyle.EmphasisText.font) .font(FontStyle.EmphasisText.font)
.foregroundColor(ColorSet.Body.color) .foregroundColor(ColorSet.Body.color)
......
...@@ -37,15 +37,10 @@ struct MenuManualECDISView: View { ...@@ -37,15 +37,10 @@ struct MenuManualECDISView: View {
Spacer() Spacer()
} }
.background(ColorSet.BackgroundPrimary.color) .background(ColorSet.BackgroundPrimary.color)
.alert("delete", isPresented: $isAlert) { .alert("Error", isPresented: $isAlert) {
Button(role: .destructive) { Button("OK") {}
} label: {
Text("delete")
}
} message: { } message: {
Text("eca delete") Text("Network Error")
} }
} }
} }
......
...@@ -38,15 +38,10 @@ struct MenuManualRADARView: View { ...@@ -38,15 +38,10 @@ struct MenuManualRADARView: View {
Spacer() Spacer()
} }
.background(ColorSet.BackgroundPrimary.color) .background(ColorSet.BackgroundPrimary.color)
.alert("delete", isPresented: $isAlert) { .alert("Error", isPresented: $isAlert) {
Button(role: .destructive) { Button("OK") {}
} label: {
Text("delete")
}
} message: { } message: {
Text("eca delete") Text("Network Error")
} }
} }
} }
......
...@@ -65,15 +65,10 @@ struct MenuManualView: View { ...@@ -65,15 +65,10 @@ struct MenuManualView: View {
Spacer() Spacer()
} }
.background(ColorSet.BackgroundPrimary.color) .background(ColorSet.BackgroundPrimary.color)
.alert("delete", isPresented: $isAlert) { .alert("Error", isPresented: $isAlert) {
Button(role: .destructive) { Button("OK") {}
} label: {
Text("delete")
}
} message: { } 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