Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
Sailassist
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
54
Merge Requests
54
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gr-ssv
Sailassist
Commits
41876a5c
Commit
41876a5c
authored
Dec 26, 2023
by
shigemi miura
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sail Assist質問リスト No42対応
Version確認処理
parent
acaa60ef
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
98 additions
and
21 deletions
+98
-21
project.pbxproj
Seilassist/Sailassist.xcodeproj/project.pbxproj
+4
-0
AppVersionModel.swift
Seilassist/Sailassist/AppVersionModel.swift
+70
-0
EcaCoordinatesTable.swift
Seilassist/Sailassist/ECA/EcaCoordinatesTable.swift
+2
-1
HttpRequestType.swift
Seilassist/Sailassist/Http/HttpRequestType.swift
+8
-0
MapRepresentable.swift
Seilassist/Sailassist/Map/MapRepresentable.swift
+1
-1
TaskSwitchingMenuView.swift
...sist/Sailassist/Map/Task/View/TaskSwitchingMenuView.swift
+0
-7
MenuView.swift
Seilassist/Sailassist/Menu/MenuView.swift
+12
-11
MenuInfomarionView.swift
Seilassist/Sailassist/Menu/View/MenuInfomarionView.swift
+1
-1
No files found.
Seilassist/Sailassist.xcodeproj/project.pbxproj
View file @
41876a5c
...
@@ -112,6 +112,7 @@
...
@@ -112,6 +112,7 @@
D5AE351A2AEBA66A00059889
/* ReqLogin.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
D5AE35182AEBA66A00059889
/* ReqLogin.swift */
;
};
D5AE351A2AEBA66A00059889
/* ReqLogin.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
D5AE35182AEBA66A00059889
/* ReqLogin.swift */
;
};
D5AE351B2AEBA66A00059889
/* ResLogin.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
D5AE35192AEBA66A00059889
/* ResLogin.swift */
;
};
D5AE351B2AEBA66A00059889
/* ResLogin.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
D5AE35192AEBA66A00059889
/* ResLogin.swift */
;
};
D5AE351D2AEBA6FC00059889
/* SessionLogin.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
D5AE351C2AEBA6FC00059889
/* SessionLogin.swift */
;
};
D5AE351D2AEBA6FC00059889
/* SessionLogin.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
D5AE351C2AEBA6FC00059889
/* SessionLogin.swift */
;
};
D5B803282B3B988E003B32AD
/* AppVersionModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
D5B803272B3B988E003B32AD
/* AppVersionModel.swift */
;
};
D5CB6F992B02088C00EC2010
/* ResShipStatus.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
D5CB6F982B02088C00EC2010
/* ResShipStatus.swift */
;
};
D5CB6F992B02088C00EC2010
/* ResShipStatus.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
D5CB6F982B02088C00EC2010
/* ResShipStatus.swift */
;
};
D5CB6F9B2B021C4F00EC2010
/* LocationViewModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
D5CB6F9A2B021C4F00EC2010
/* LocationViewModel.swift */
;
};
D5CB6F9B2B021C4F00EC2010
/* LocationViewModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
D5CB6F9A2B021C4F00EC2010
/* LocationViewModel.swift */
;
};
D5CB6F9F2B0220A700EC2010
/* ErrorView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
D5CB6F9E2B0220A700EC2010
/* ErrorView.swift */
;
};
D5CB6F9F2B0220A700EC2010
/* ErrorView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
D5CB6F9E2B0220A700EC2010
/* ErrorView.swift */
;
};
...
@@ -271,6 +272,7 @@
...
@@ -271,6 +272,7 @@
D5AE35182AEBA66A00059889
/* ReqLogin.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
name
=
ReqLogin.swift
;
path
=
Sailassist/Json/ReqLogin.swift
;
sourceTree
=
SOURCE_ROOT
;
};
D5AE35182AEBA66A00059889
/* ReqLogin.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
name
=
ReqLogin.swift
;
path
=
Sailassist/Json/ReqLogin.swift
;
sourceTree
=
SOURCE_ROOT
;
};
D5AE35192AEBA66A00059889
/* ResLogin.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
name
=
ResLogin.swift
;
path
=
Sailassist/Json/ResLogin.swift
;
sourceTree
=
SOURCE_ROOT
;
};
D5AE35192AEBA66A00059889
/* ResLogin.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
name
=
ResLogin.swift
;
path
=
Sailassist/Json/ResLogin.swift
;
sourceTree
=
SOURCE_ROOT
;
};
D5AE351C2AEBA6FC00059889
/* SessionLogin.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
name
=
SessionLogin.swift
;
path
=
Sailassist/ServerSession/SessionLogin.swift
;
sourceTree
=
SOURCE_ROOT
;
};
D5AE351C2AEBA6FC00059889
/* SessionLogin.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
name
=
SessionLogin.swift
;
path
=
Sailassist/ServerSession/SessionLogin.swift
;
sourceTree
=
SOURCE_ROOT
;
};
D5B803272B3B988E003B32AD
/* AppVersionModel.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
name
=
AppVersionModel.swift
;
path
=
Sailassist/AppVersionModel.swift
;
sourceTree
=
SOURCE_ROOT
;
};
D5CB6F982B02088C00EC2010
/* ResShipStatus.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
name
=
ResShipStatus.swift
;
path
=
Sailassist/Json/ResShipStatus.swift
;
sourceTree
=
SOURCE_ROOT
;
};
D5CB6F982B02088C00EC2010
/* ResShipStatus.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
name
=
ResShipStatus.swift
;
path
=
Sailassist/Json/ResShipStatus.swift
;
sourceTree
=
SOURCE_ROOT
;
};
D5CB6F9A2B021C4F00EC2010
/* LocationViewModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
name
=
LocationViewModel.swift
;
path
=
Sailassist/LocationViewModel.swift
;
sourceTree
=
SOURCE_ROOT
;
};
D5CB6F9A2B021C4F00EC2010
/* LocationViewModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
name
=
LocationViewModel.swift
;
path
=
Sailassist/LocationViewModel.swift
;
sourceTree
=
SOURCE_ROOT
;
};
D5CB6F9E2B0220A700EC2010
/* ErrorView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
name
=
ErrorView.swift
;
path
=
Sailassist/ErrorView.swift
;
sourceTree
=
SOURCE_ROOT
;
};
D5CB6F9E2B0220A700EC2010
/* ErrorView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
name
=
ErrorView.swift
;
path
=
Sailassist/ErrorView.swift
;
sourceTree
=
SOURCE_ROOT
;
};
...
@@ -367,6 +369,7 @@
...
@@ -367,6 +369,7 @@
020B98172AD8C3190029DE4C
/* Assets.xcassets */
,
020B98172AD8C3190029DE4C
/* Assets.xcassets */
,
020B98192AD8C3190029DE4C
/* Preview Content */
,
020B98192AD8C3190029DE4C
/* Preview Content */
,
D5CB6F9A2B021C4F00EC2010
/* LocationViewModel.swift */
,
D5CB6F9A2B021C4F00EC2010
/* LocationViewModel.swift */
,
D5B803272B3B988E003B32AD
/* AppVersionModel.swift */
,
D5CB6F9E2B0220A700EC2010
/* ErrorView.swift */
,
D5CB6F9E2B0220A700EC2010
/* ErrorView.swift */
,
027EF9F12B0D804C0079B825
/* WebView.swift */
,
027EF9F12B0D804C0079B825
/* WebView.swift */
,
);
);
...
@@ -959,6 +962,7 @@
...
@@ -959,6 +962,7 @@
020B98532AD919180029DE4C
/* LoginTypeSelectView.swift in Sources */
,
020B98532AD919180029DE4C
/* LoginTypeSelectView.swift in Sources */
,
D52D213F2AEBB7D700324D58
/* RegisteredEca.swift in Sources */
,
D52D213F2AEBB7D700324D58
/* RegisteredEca.swift in Sources */
,
02CD06952AE895F5005F8D8F
/* APIError.swift in Sources */
,
02CD06952AE895F5005F8D8F
/* APIError.swift in Sources */
,
D5B803282B3B988E003B32AD
/* AppVersionModel.swift in Sources */
,
D592D5232B0F14FE00B91A1C
/* SessionUploadImage.swift in Sources */
,
D592D5232B0F14FE00B91A1C
/* SessionUploadImage.swift in Sources */
,
022A98202AF8B8960079C55A
/* LocationCalculation.swift in Sources */
,
022A98202AF8B8960079C55A
/* LocationCalculation.swift in Sources */
,
D5258CA72B03988600365276
/* ReqTaskList.swift in Sources */
,
D5258CA72B03988600365276
/* ReqTaskList.swift in Sources */
,
...
...
Seilassist/Sailassist/AppVersionModel.swift
0 → 100644
View file @
41876a5c
//
// AppVersionModel.swift
// Sailassist
//
// Created by 三浦薫巳 on 2023/12/26.
//
import
Foundation
class
AppVersionModel
:
ObservableObject
{
private
var
serverSession
=
ServerSession
()
let
appVersion
=
Bundle
.
main
.
object
(
forInfoDictionaryKey
:
"CFBundleShortVersionString"
)
func
start
()
{
print
(
debug
:
"called"
)
versionURL
{
response
in
print
(
debug
:
"called"
)
switch
response
{
case
.
success
(
let
resultData
):
print
(
debug
:
String
(
data
:
resultData
,
encoding
:
.
utf8
)
as
Any
)
let
jsonstr
=
String
(
data
:
resultData
,
encoding
:
.
utf8
)
!
let
appData
:
Data
=
jsonstr
.
data
(
using
:
String
.
Encoding
.
utf8
)
!
do
{
let
json
=
try
JSONSerialization
.
jsonObject
(
with
:
appData
,
options
:
[
.
allowFragments
])
as?
[
String
:
Any
]
guard
let
result
=
(
json
?[
"results"
]
as?
[
Any
])?
.
first
as?
[
String
:
Any
],
let
storeVersion
=
result
[
"version"
]
as?
String
else
{
return
}
print
(
debug
:
"
\(
storeVersion
)
"
)
}
catch
{
print
(
error
)
}
case
.
failure
(
let
errorCode
):
print
(
debug
:
errorCode
)
break
}
}
}
private
func
versionURL
(
_
completion
:
@escaping
((
Result
<
Data
,
APIError
>
))
->
Void
)
{
print
(
debug
:
"calld"
)
let
url_string
=
HttpRequestType
.
AppInfo
.
rawValue
+
"&date=
\(
Date
.
init
()
.
timeIntervalSince1970
)
"
guard
let
req_url
=
URL
(
string
:
url_string
)
else
{
return
}
serverSession
.
getJson
(
req_url
,
completion
:
completion
)
}
// func appVersionCheck() {
// guard let info = Bundle.main.infoDictionary,
// let appVersion = info["CFBundleShortVersionString"] as? String,
// let identifier = info["CFBundleIdentifier"] as? String,
// let url = URL(string: "https://itunes.apple.com/lookup?bundleId=\(identifier)") else { return }
//
// let task = URLSession.shared.dataTask(with: url) { (data, response, error) in
// guard let data = data else { return }
// do {
// let json = try JSONSerialization.jsonObject(with: data, options: [.allowFragments]) as? [String: Any]
// guard let result = (json?["results"] as? [Any])?.first as? [String: Any],
// let storeVersion = result["version"] as? String else { return }
//
// if appVersion != storeVersion {
// // appVersion と storeVersion が異なっている時に実行したい処理を記述
// }
// } catch let error {
// print(error)
// }
// }
// task.resume()
// }
}
Seilassist/Sailassist/ECA/EcaCoordinatesTable.swift
View file @
41876a5c
...
@@ -92,7 +92,8 @@ var chinaHainan:[CLLocationCoordinate2D] = [
...
@@ -92,7 +92,8 @@ var chinaHainan:[CLLocationCoordinate2D] = [
CLLocationCoordinate2D
(
latitude
:
18.38620000
,
longitude
:
108.51900000
),
CLLocationCoordinate2D
(
latitude
:
18.38620000
,
longitude
:
108.51900000
),
CLLocationCoordinate2D
(
latitude
:
18.42630000
,
longitude
:
108.47900000
),
CLLocationCoordinate2D
(
latitude
:
18.42630000
,
longitude
:
108.47900000
),
CLLocationCoordinate2D
(
latitude
:
18.82040000
,
longitude
:
108.41300000
),
CLLocationCoordinate2D
(
latitude
:
18.82040000
,
longitude
:
108.41300000
),
CLLocationCoordinate2D
(
latitude
:
19.21310000
,
longitude
:
108.38900000
)
CLLocationCoordinate2D
(
latitude
:
19.21310000
,
longitude
:
108.38900000
),
CLLocationCoordinate2D
(
latitude
:
19.40180556
,
longitude
:
108.44024444
)
]
]
var
chinaYangtziShuifuYunnan
:[
CLLocationCoordinate2D
]
=
[
var
chinaYangtziShuifuYunnan
:[
CLLocationCoordinate2D
]
=
[
...
...
Seilassist/Sailassist/Http/HttpRequestType.swift
View file @
41876a5c
...
@@ -29,6 +29,10 @@ enum HttpRequestType : String {
...
@@ -29,6 +29,10 @@ enum HttpRequestType : String {
case
GetManualUrl
=
"https://ssv-canary-web.azurewebsites.net/api/constantdata/manual?filter=SailAssist"
case
GetManualUrl
=
"https://ssv-canary-web.azurewebsites.net/api/constantdata/manual?filter=SailAssist"
case
ContactPage
=
"https://www.jmarinecloud.com/eng/contact.php?type=ssv_mobile"
case
ContactPage
=
"https://www.jmarinecloud.com/eng/contact.php?type=ssv_mobile"
case
ApachLicens
=
"https://raw.githubusercontent.com/Azure/azure-notificationhubs-ios/main/LICENSE"
case
ApachLicens
=
"https://raw.githubusercontent.com/Azure/azure-notificationhubs-ios/main/LICENSE"
case
AppStore
=
"https://apps.apple.com/jp/app/ssv-mobile/id1434022656"
case
AppInfo
=
"https://itunes.apple.com/lookup?bundleId=com.jrc.tacmi"
// case AppStore = "https://apps.apple.com/jp/app/sail-assist/id6473762428"
// case AppInfo = "https://itunes.apple.com/lookup?bundleId=com.jrc.sailassist"
}
}
#elseif QC
#elseif QC
enum
HttpRequestType
:
String
{
enum
HttpRequestType
:
String
{
...
@@ -51,6 +55,8 @@ enum HttpRequestType : String {
...
@@ -51,6 +55,8 @@ enum HttpRequestType : String {
case
GetManualUrl
=
"https://ssv-qc-web.azurewebsites.net/api/constantdata/manual?filter=SailAssist"
case
GetManualUrl
=
"https://ssv-qc-web.azurewebsites.net/api/constantdata/manual?filter=SailAssist"
case
ContactPage
=
"https://www.jmarinecloud.com/eng/contact.php?type=ssv_mobile"
case
ContactPage
=
"https://www.jmarinecloud.com/eng/contact.php?type=ssv_mobile"
case
ApachLicens
=
"https://raw.githubusercontent.com/Azure/azure-notificationhubs-ios/main/LICENSE"
case
ApachLicens
=
"https://raw.githubusercontent.com/Azure/azure-notificationhubs-ios/main/LICENSE"
case
AppStore
=
"https://apps.apple.com/jp/app/sail-assist/id6473762428"
case
AppInfo
=
"https://itunes.apple.com/lookup?bundleId=com.jrc.sailassist"
}
}
#else
#else
//MARK: 運用サーバー用
//MARK: 運用サーバー用
...
@@ -74,5 +80,7 @@ enum HttpRequestType : String {
...
@@ -74,5 +80,7 @@ enum HttpRequestType : String {
case
GetManualUrl
=
"https://ssv.jmarinecloud.com/api/constantdata/manual?filter=SailAssist"
case
GetManualUrl
=
"https://ssv.jmarinecloud.com/api/constantdata/manual?filter=SailAssist"
case
ContactPage
=
"https://www.jmarinecloud.com/eng/contact.php?type=ssv_mobile"
case
ContactPage
=
"https://www.jmarinecloud.com/eng/contact.php?type=ssv_mobile"
case
ApachLicens
=
"https://raw.githubusercontent.com/Azure/azure-notificationhubs-ios/main/LICENSE"
case
ApachLicens
=
"https://raw.githubusercontent.com/Azure/azure-notificationhubs-ios/main/LICENSE"
case
AppStore
=
"https://apps.apple.com/jp/app/sail-assist/id6473762428"
case
AppInfo
=
"https://itunes.apple.com/lookup?bundleId=com.jrc.sailassist"
}
}
#endif
#endif
Seilassist/Sailassist/Map/MapRepresentable.swift
View file @
41876a5c
...
@@ -33,7 +33,7 @@ struct MapRepresentable: UIViewControllerRepresentable{
...
@@ -33,7 +33,7 @@ struct MapRepresentable: UIViewControllerRepresentable{
mapVC
.
updateCamera
(
location
:
focusEca
.
centerPosition
,
zoomlevel
:
focusEca
.
zoomLevel
)
mapVC
.
updateCamera
(
location
:
focusEca
.
centerPosition
,
zoomlevel
:
focusEca
.
zoomLevel
)
mapVC
.
updateOneTimeEca
(
eca
:
focusEca
.
points
)
mapVC
.
updateOneTimeEca
(
eca
:
focusEca
.
points
)
//10秒後削除
//10秒後削除
DispatchQueue
.
main
.
asyncAfter
(
deadline
:
.
now
()
+
1
0
.0
)
{
DispatchQueue
.
main
.
asyncAfter
(
deadline
:
.
now
()
+
1
5
.0
)
{
do
{
do
{
mapVC
.
updateOneTimeEca
(
eca
:
nil
)
mapVC
.
updateOneTimeEca
(
eca
:
nil
)
}
catch
{
}
catch
{
...
...
Seilassist/Sailassist/Map/Task/View/TaskSwitchingMenuView.swift
View file @
41876a5c
...
@@ -7,16 +7,9 @@
...
@@ -7,16 +7,9 @@
import
SwiftUI
import
SwiftUI
//enum EcaAlertType: String {
// case ecaDelete
// case ecaRunningStop
//}
struct
TaskSwitchingMenuView
:
View
{
struct
TaskSwitchingMenuView
:
View
{
@ObservedObject
var
taskViewModel
:
TaskViewModel
@ObservedObject
var
taskViewModel
:
TaskViewModel
@ObservedObject
var
ecaData
=
SharingData
.
eca
@ObservedObject
var
ecaData
=
SharingData
.
eca
// @State var isEcaAlert : Bool = false
// @State var ecaAlertType: EcaAlertType = .ecaDelete
@State
var
isDeleteAlert
:
Bool
=
false
@State
var
isDeleteAlert
:
Bool
=
false
@State
var
isRunningStopAlert
:
Bool
=
false
@State
var
isRunningStopAlert
:
Bool
=
false
let
deleteEcaArea
=
DeleteEcaArea
()
let
deleteEcaArea
=
DeleteEcaArea
()
...
...
Seilassist/Sailassist/Menu/MenuView.swift
View file @
41876a5c
...
@@ -21,7 +21,7 @@ enum MenuPath: String, Hashable{
...
@@ -21,7 +21,7 @@ enum MenuPath: String, Hashable{
case
ManualInmalsatC
case
ManualInmalsatC
case
ManualInternationalVHF
case
ManualInternationalVHF
case
ManualVDR
case
ManualVDR
case
Information
//
case Information
case
Setting
case
Setting
case
GpsSelect
case
GpsSelect
case
Help
case
Help
...
@@ -53,8 +53,8 @@ enum MenuPath: String, Hashable{
...
@@ -53,8 +53,8 @@ enum MenuPath: String, Hashable{
"International VHF"
"International VHF"
case
.
ManualVDR
:
case
.
ManualVDR
:
"VDR"
"VDR"
case
.
Information
:
//
case .Information:
"Information"
//
"Information"
case
.
Setting
:
case
.
Setting
:
"Setting"
"Setting"
case
.
GpsSelect
:
case
.
GpsSelect
:
...
@@ -138,11 +138,11 @@ struct MenuView: View {
...
@@ -138,11 +138,11 @@ struct MenuView: View {
MenuContentView
(
content
:
.
Manual
)
MenuContentView
(
content
:
.
Manual
)
}
}
Button
{
//
Button{
path
.
append
(
.
Information
)
//
path.append(.Information)
}
label
:
{
//
}label: {
MenuContentView
(
content
:
.
Information
)
//
MenuContentView(content: .Information)
}
//
}
Button
{
Button
{
path
.
append
(
.
Setting
)
path
.
append
(
.
Setting
)
...
@@ -180,9 +180,9 @@ struct MenuView: View {
...
@@ -180,9 +180,9 @@ struct MenuView: View {
}
else
if
goto
==
.
AboutApp
{
}
else
if
goto
==
.
AboutApp
{
MenuAboutAppView
(
path
:
$
path
)
MenuAboutAppView
(
path
:
$
path
)
.
navigationBarHidden
(
true
)
.
navigationBarHidden
(
true
)
}
else
if
goto
==
.
Information
{
//
}else if goto == .Information{
MenuInfomarionView
(
path
:
$
path
)
//
MenuInfomarionView(path: $path)
.
navigationBarHidden
(
true
)
//
.navigationBarHidden(true)
}
else
{
}
else
{
VStack
(
spacing
:
0
)
{
VStack
(
spacing
:
0
)
{
MenuTitleView
(
path
:
$
path
,
title
:
goto
.
title
)
MenuTitleView
(
path
:
$
path
,
title
:
goto
.
title
)
...
@@ -203,6 +203,7 @@ struct MenuView: View {
...
@@ -203,6 +203,7 @@ struct MenuView: View {
MSNotificationHub
.
clearTags
()
MSNotificationHub
.
clearTags
()
Preferences
.
Id
=
""
Preferences
.
Id
=
""
Preferences
.
Password
=
""
Preferences
.
Password
=
""
Preferences
.
UserName
=
""
loginViewModel
.
isLogin
=
false
loginViewModel
.
isLogin
=
false
sceneDelegate
.
tabWindow
?
.
isHidden
=
true
sceneDelegate
.
tabWindow
?
.
isHidden
=
true
}
}
...
...
Seilassist/Sailassist/Menu/View/MenuInfomarionView.swift
View file @
41876a5c
...
@@ -12,7 +12,7 @@ struct MenuInfomarionView: View {
...
@@ -12,7 +12,7 @@ struct MenuInfomarionView: View {
var
body
:
some
View
{
var
body
:
some
View
{
VStack
{
VStack
{
MenuTitleView
(
path
:
$
path
,
title
:
MenuPath
.
Information
.
title
)
//
MenuTitleView(path: $path, title: MenuPath.Information.title)
ScrollView
{
ScrollView
{
VStack
(
spacing
:
0
){
VStack
(
spacing
:
0
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment