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
0
Merge Requests
0
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
CpjJwWHV
Sailassist
Commits
0f9dd65e
Commit
0f9dd65e
authored
Jan 15, 2024
by
shigemi miura
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GPS使用許可
parent
08bf2886
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
MainTabView.swift
Seilassist/Sailassist/Tab/MainTabView.swift
+6
-1
No files found.
Seilassist/Sailassist/Tab/MainTabView.swift
View file @
0f9dd65e
...
...
@@ -151,7 +151,12 @@ struct CustomTabBar: View {
Text
(
"Do you change an emargency mode?"
)
}
.
alert
(
"Location"
,
isPresented
:
$
selectedTabModel
.
isLocationAlert
)
{
Button
(
"OK"
)
{
Button
(
"Cancel"
)
{}
Button
(
"Setting"
)
{
guard
let
settingsURL
=
URL
(
string
:
UIApplication
.
openSettingsURLString
)
else
{
return
}
UIApplication
.
shared
.
open
(
settingsURL
,
options
:
[:],
completionHandler
:
nil
)
}
}
message
:
{
Text
(
"To use ECA,set the permission to use location information to ALWAYS."
)
...
...
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