Various improvements

This commit is contained in:
Ilya Laktyushin
2024-07-14 21:59:25 +04:00
parent ae0975716e
commit 1466cd82fe
10 changed files with 208 additions and 64 deletions

View File

@@ -100,7 +100,7 @@ final class BrowserNavigationBarComponent: CombinedComponent {
}
static var body: Body {
let background = Child(BlurredBackgroundComponent.self)
let background = Child(Rectangle.self)
let readingProgress = Child(Rectangle.self)
let separator = Child(Rectangle.self)
let loadingProgress = Child(LoadingProgressComponent.self)
@@ -118,7 +118,7 @@ final class BrowserNavigationBarComponent: CombinedComponent {
let size = CGSize(width: context.availableSize.width, height: context.component.topInset + contentHeight)
let background = background.update(
component: BlurredBackgroundComponent(color: context.component.backgroundColor),
component: Rectangle(color: context.component.backgroundColor.withAlphaComponent(1.0)),
availableSize: CGSize(width: size.width, height: size.height),
transition: context.transition
)