text: "We need your permission to access your data."
font: 16
textAlign: left
color: primary
}
Text {
padding: 20 0 0 0
text: "CONTACT BOOK"
font: 14 semibold
textAlign: left
color: #17A4E0
}
Text {
padding: 5 0 0 0
text: "Because memri is all about people."
font: 16
textAlign: left
color: primary
}
Text {
padding: 20 0 0 0
text: "LOCATION"
font: 14 semibold
textAlign: left
color: #17A4E0
}
Text {
padding: 5 0 0 0
text: "So that you have the fastest (and nearest!) server to where you are."
font: 16
textAlign: left
color: primary
}
Text {
padding: 5 0 0 0
text: "Learn more about our infrastructure."
font: 16
textAlign: left
color: primary
}
Text {
padding: 20 0 0 0
text: "STORAGE AND MEDIA"
font: 14 semibold
textAlign: left
color: #17A4E0
}
Text {
padding: 5 0 0 0
text: "Your content is always yours. We don’t ever peek through. Yet you need to share it with your pod."
font: 16
textAlign: left
color: primary
}
}
Button {
background: #000
cornerRadius: 30
width: 210
height: 50
HStack {
Text {
text: "Allow access"
color: #fff
}
Image {
alignment: center
systemName: "arrow.right"
resizable: true
sizingMode: fit
color: #fff
font: 20
padding: 18 0 18 0
}
}
onPress: [
requestcontacts,
requestlocation,
requeststorage,
openView {
viewName: "onboarding-finish"
}]
}
HStack {
Button {
cornerRadius: 30
padding: 25 10
onPress: openView {
viewName: "onboarding-finish"
}
HStack {
Text {
text: "Let's skip this, I'll do it later"
font: 16
color: #000
}
}
}
}
}
}
.onboarding-finish {
defaultRenderer: custom
showSearchBar: false
showContextualBottomBar: false
showBottomBar: false
showTopBar: false
VStack {
alignment: top
background: #F6F5F5
spacing: 10
Text {
alignment: left
text: "Yay! Good to see you here!"
font: 30 light
textAlign: left
color: primary
padding: 20
}
VStack {
alignment: left
padding: 10
Text {
text: "Enjoy the full wallet experience for free for 7 days. No strings attached."
font: 16
textAlign: left
color: primary
}
Text {
padding: 20 0 0 0
text: "● free trial"
font: 16
textAlign: left
color: primary
}
Text {
text: "● no credit card required"
font: 16
textAlign: left
color: primary
}
Text {
text: "● your free trial ends automatically after 7 days."
font: 16
textAlign: left
color: primary
}
}
HStack {
padding: 20 0
alignment: center
Text {
font: 16
text: "I consent to sharing my usage data for the purpose of enhancing user experience."
}
Toggle {
value: {{.allowSharing}}
}
}
Text {
padding: 0 20 20 20
color: #828282
font: 13
text: "When this setting is on, you consent for memri to report information on app usage (anonymous), for example, which of the features are most frequently used. Learn more."