parent
46e3d9646b
commit
9a5631d114
|
@ -36,15 +36,7 @@ struct OnboardingContentView: View {
|
|||
.lineSpacing(2)
|
||||
.padding(EdgeInsets(top: 0, leading: 10, bottom: 10, trailing: 10))
|
||||
|
||||
if viewStore.isInitialStep {
|
||||
VStack(alignment: .leading) {
|
||||
image
|
||||
title
|
||||
text
|
||||
Spacer()
|
||||
}
|
||||
.ignoresSafeArea(edges: [.top])
|
||||
} else if viewStore.isFinalStep {
|
||||
if viewStore.isFinalStep {
|
||||
VStack(alignment: .leading) {
|
||||
title
|
||||
.padding(.top, 73 * imageScale)
|
||||
|
@ -55,13 +47,10 @@ struct OnboardingContentView: View {
|
|||
} else {
|
||||
VStack(alignment: .leading) {
|
||||
image
|
||||
.padding(.top, 73 * imageScale)
|
||||
|
||||
title
|
||||
text
|
||||
Spacer()
|
||||
}
|
||||
.ignoresSafeArea(edges: [.top])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,17 +26,13 @@ struct RecoveryPhraseValidationFlowView: View {
|
|||
.padding(.horizontal, 44)
|
||||
.opacity(0.53)
|
||||
}
|
||||
.padding(.bottom, 20)
|
||||
.padding(.bottom, 40)
|
||||
|
||||
CircularFrame()
|
||||
.backgroundImage(
|
||||
Asset.Assets.Backgrounds.calloutBackupFlow1.image
|
||||
)
|
||||
Asset.Assets.Backgrounds.calloutBackupFlow1.image
|
||||
.frame(
|
||||
width: circularFrameUniformSize(width: proxy.size.width, height: proxy.size.height),
|
||||
height: circularFrameUniformSize(width: proxy.size.width, height: proxy.size.height)
|
||||
)
|
||||
.badgeIcon(.person)
|
||||
|
||||
Spacer()
|
||||
|
||||
|
|
|
@ -24,15 +24,11 @@ struct RecoveryPhraseBackupFailedView: View {
|
|||
}
|
||||
.padding(.bottom, 40)
|
||||
|
||||
CircularFrame()
|
||||
.backgroundImage(
|
||||
Asset.Assets.Backgrounds.calloutBackupFailed.image
|
||||
)
|
||||
Asset.Assets.Backgrounds.calloutBackupFailed.image
|
||||
.frame(
|
||||
width: circularFrameUniformSize(width: proxy.size.width, height: proxy.size.height),
|
||||
height: circularFrameUniformSize(width: proxy.size.width, height: proxy.size.height)
|
||||
)
|
||||
.badgeIcon(.error)
|
||||
|
||||
Spacer()
|
||||
|
||||
|
@ -74,7 +70,7 @@ struct RecoveryPhraseBackupFailedView: View {
|
|||
}
|
||||
.padding()
|
||||
.navigationBarHidden(true)
|
||||
.applyErredScreenBackground()
|
||||
.applyScreenBackground()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,15 +28,11 @@ struct RecoveryPhraseBackupSucceededView: View {
|
|||
.padding(.vertical, 40)
|
||||
|
||||
VStack {
|
||||
CircularFrame()
|
||||
.backgroundImage(
|
||||
Asset.Assets.Backgrounds.calloutBackupSucceeded.image
|
||||
)
|
||||
Asset.Assets.Backgrounds.calloutBackupSucceeded.image
|
||||
.frame(
|
||||
width: circularFrameUniformSize(width: proxy.size.width, height: proxy.size.height),
|
||||
height: circularFrameUniformSize(width: proxy.size.width, height: proxy.size.height)
|
||||
)
|
||||
.badgeIcon(.shield)
|
||||
}
|
||||
.padding(.bottom, 40)
|
||||
|
||||
|
@ -76,7 +72,7 @@ struct RecoveryPhraseBackupSucceededView: View {
|
|||
}
|
||||
}
|
||||
.navigationBarHidden(true)
|
||||
.applySucceededScreenBackground()
|
||||
.applyScreenBackground()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,22 +1,25 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "calloutBackupFailed.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
"filename" : "illus_alert_lighttheme.pdf",
|
||||
"idiom" : "universal"
|
||||
},
|
||||
{
|
||||
"filename" : "calloutBackupFailed@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "illus_alert_darktheme.pdf",
|
||||
"idiom" : "universal"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
},
|
||||
"properties" : {
|
||||
"preserves-vector-representation" : true
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 228 KiB |
Binary file not shown.
Before Width: | Height: | Size: 797 KiB |
BIN
secant/Resources/Assets.xcassets/Backgrounds/calloutBackupFailed.imageset/illus_alert_darktheme.pdf
vendored
Normal file
BIN
secant/Resources/Assets.xcassets/Backgrounds/calloutBackupFailed.imageset/illus_alert_darktheme.pdf
vendored
Normal file
Binary file not shown.
BIN
secant/Resources/Assets.xcassets/Backgrounds/calloutBackupFailed.imageset/illus_alert_lighttheme.pdf
vendored
Normal file
BIN
secant/Resources/Assets.xcassets/Backgrounds/calloutBackupFailed.imageset/illus_alert_lighttheme.pdf
vendored
Normal file
Binary file not shown.
|
@ -1,22 +1,25 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "calloutBackupFlow1.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
"filename" : "illus_bank_lighttheme.pdf",
|
||||
"idiom" : "universal"
|
||||
},
|
||||
{
|
||||
"filename" : "calloutBackupFlow1@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "illus_bank_darktheme.pdf",
|
||||
"idiom" : "universal"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
},
|
||||
"properties" : {
|
||||
"preserves-vector-representation" : true
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 205 KiB |
Binary file not shown.
Before Width: | Height: | Size: 710 KiB |
BIN
secant/Resources/Assets.xcassets/Backgrounds/calloutBackupFlow1.imageset/illus_bank_darktheme.pdf
vendored
Normal file
BIN
secant/Resources/Assets.xcassets/Backgrounds/calloutBackupFlow1.imageset/illus_bank_darktheme.pdf
vendored
Normal file
Binary file not shown.
BIN
secant/Resources/Assets.xcassets/Backgrounds/calloutBackupFlow1.imageset/illus_bank_lighttheme.pdf
vendored
Normal file
BIN
secant/Resources/Assets.xcassets/Backgrounds/calloutBackupFlow1.imageset/illus_bank_lighttheme.pdf
vendored
Normal file
Binary file not shown.
|
@ -1,22 +1,25 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "calloutBackupSucceeded.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
"filename" : "illus_bigsuccess_lighttheme.pdf",
|
||||
"idiom" : "universal"
|
||||
},
|
||||
{
|
||||
"filename" : "calloutBackupSucceeded@2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "illus_bigsuccess_darktheme.pdf",
|
||||
"idiom" : "universal"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
},
|
||||
"properties" : {
|
||||
"preserves-vector-representation" : true
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 198 KiB |
Binary file not shown.
Before Width: | Height: | Size: 689 KiB |
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue