fix(android): apply robust static RGB colors and compatible background opacity fallback
This commit is contained in:
@@ -43,6 +43,13 @@ struct LoginView: View {
|
||||
(colorScheme == .dark ? Color.black : AppColors.backgroundLight)
|
||||
.ignoresSafeArea()
|
||||
|
||||
#if os(Android)
|
||||
pinHeroImage
|
||||
.scaledToFill()
|
||||
.frame(height: heroHeight + 80)
|
||||
.offset(y: heroVisible ? -60 : -(heroHeight + 220))
|
||||
.opacity(colorScheme == .dark ? 0.08 : 0.15)
|
||||
#else
|
||||
pinHeroImage
|
||||
.scaledToFill()
|
||||
.frame(height: heroHeight + 80)
|
||||
@@ -54,6 +61,7 @@ struct LoginView: View {
|
||||
endPoint: .bottom
|
||||
)
|
||||
)
|
||||
#endif
|
||||
|
||||
VStack(spacing: 18) {
|
||||
Spacer().frame(height: logoTopInset)
|
||||
|
||||
Reference in New Issue
Block a user