mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Fix the AuthenticationStartScreen with large Dynamic Type sizes. (#5191)
* Allow AuthenticationStartLogo to be scaled and fix dark mode when not on a gradient. * Fix the layout of AuthenticationStartScreen with large Dynamic Type sizes.
This commit is contained in:
@@ -28,7 +28,7 @@ struct PlaceholderScreen: View {
|
||||
let hideGradientBackground: Bool
|
||||
|
||||
var body: some View {
|
||||
AuthenticationStartLogo(hideBrandChrome: hideBrandChrome)
|
||||
AuthenticationStartLogo(hideBrandChrome: hideBrandChrome, isOnGradient: !hideGradientBackground)
|
||||
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||
.background {
|
||||
if !hideGradientBackground {
|
||||
|
||||
Reference in New Issue
Block a user