Fix build

This commit is contained in:
Isaac
2025-09-23 21:04:01 +08:00
parent 0ebc5dac3a
commit b62fd285d6
2 changed files with 11 additions and 2 deletions

View File

@@ -586,6 +586,7 @@ private final class VideoMessageCameraScreenComponent: CombinedComponent {
let flipButtonBackground = flipButtonBackground.update(
component: GlassBackgroundComponent(
size: CGSize(width: 40.0, height: 40.0),
cornerRadius: 40.0 * 0.5,
isDark: environment.theme.overallDarkAppearance,
tintColor: .init(kind: .panel, color: environment.theme.chat.inputPanel.inputBackgroundColor.withMultipliedAlpha(0.7))
),
@@ -688,6 +689,7 @@ private final class VideoMessageCameraScreenComponent: CombinedComponent {
let flashButtonBackground = flashButtonBackground.update(
component: GlassBackgroundComponent(
size: CGSize(width: 40.0, height: 40.0),
cornerRadius: 40.0 * 0.5,
isDark: environment.theme.overallDarkAppearance,
tintColor: .init(kind: .panel, color: environment.theme.chat.inputPanel.inputBackgroundColor.withMultipliedAlpha(0.7))
),
@@ -719,6 +721,7 @@ private final class VideoMessageCameraScreenComponent: CombinedComponent {
component: AnyComponent(
GlassBackgroundComponent(
size: CGSize(width: 40.0, height: 40.0),
cornerRadius: 40.0 * 0.5,
isDark: environment.theme.overallDarkAppearance,
tintColor: .init(kind: .panel, color: environment.theme.chat.inputPanel.inputBackgroundColor.withMultipliedAlpha(0.7))
)
@@ -763,6 +766,7 @@ private final class VideoMessageCameraScreenComponent: CombinedComponent {
id: "background",
component: AnyComponent(GlassBackgroundComponent(
size: CGSize(width: 40.0, height: 40.0),
cornerRadius: 40.0 * 0.5,
isDark: environment.theme.overallDarkAppearance,
tintColor: .init(kind: .panel, color: environment.theme.chat.inputPanel.inputBackgroundColor.withMultipliedAlpha(0.7))
))