Page Menu
Home
Musing Studio
Search
Configure Global Search
Log In
Files
F12143106
SettingsHeaderView.swift
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
898 B
Subscribers
None
SettingsHeaderView.swift
View Options
import
SwiftUI
struct
SettingsHeaderView
:
View
{
@
Environment
(
\
.
presentationMode
)
var
presentationMode
var
body
:
some
View
{
VStack
{
HStack
{
Text
(
"Settings"
)
.
font
(.
largeTitle
)
.
fontWeight
(.
bold
)
Spacer
()
Button
(
action
:
{
presentationMode
.
wrappedValue
.
dismiss
()
},
label
:
{
Image
(
systemName
:
"xmark.circle"
)
})
}
Text
(
"WriteFreely v
\(
Bundle
.
main
.
appMarketingVersion
)
(build
\(
Bundle
.
main
.
appBuildVersion
)
)"
)
.
font
(.
caption
)
.
foregroundColor
(.
secondary
)
.
padding
(.
top
)
}
.
padding
()
}
}
struct
SettingsHeaderView_Previews
:
PreviewProvider
{
static
var
previews
:
some
View
{
SettingsHeaderView
()
}
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Fri, Oct 10, 5:12 AM (1 d, 11 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3441118
Attached To
rWFSUI WriteFreely SwiftUI
Event Timeline
Log In to Comment