Merge branch '138_onbordingUI_enhancements' of https://github.com/LukasKorba/secant-ios-wallet into 138_onbordingUI_enhancements

This commit is contained in:
Lukas Korba 2022-02-23 18:58:17 +01:00
commit 74cb622372
1 changed files with 12 additions and 2 deletions

View File

@ -77,7 +77,12 @@ struct BadgesOverlay: Animatable, ViewModifier {
y: proxy.size.height * 0.15
)
.opacity(badgeIndex == viewStore.index ? 1 : 0)
.shadow(color: Asset.Colors.Onboarding.badgeShadow.color, radius: 10, x: 0, y: 0)
.shadow(
color: Asset.Colors.Onboarding.badgeShadow.color,
radius: 10,
x: 0,
y: 0
)
}
}
@ -115,7 +120,12 @@ struct BadgeOverlay: Animatable, ViewModifier {
)
.transition(.scale(scale: 2))
.transition(.opacity)
.shadow(color: Asset.Colors.Onboarding.badgeShadow.color, radius: 10, x: 0, y: 0)
.shadow(
color: Asset.Colors.Onboarding.badgeShadow.color,
radius: 10,
x: 0,
y: 0
)
Spacer()
}
}