This commit is contained in:
Ilya Laktyushin
2022-12-03 21:57:32 +04:00
parent 9c1c901a97
commit 02e06779ef
135 changed files with 19521 additions and 711 deletions

View File

@@ -1003,7 +1003,7 @@ private final class LimitSheetComponent: CombinedComponent {
})
}
)),
backgroundColor: environment.theme.actionSheet.opaqueItemBackgroundColor,
backgroundColor: .color(environment.theme.actionSheet.opaqueItemBackgroundColor),
animateOut: animateOut
),
environment: {
@@ -1011,6 +1011,7 @@ private final class LimitSheetComponent: CombinedComponent {
SheetComponentEnvironment(
isDisplaying: environment.value.isVisible,
isCentered: environment.metrics.widthClass == .regular,
hasInputHeight: !environment.inputHeight.isZero,
dismiss: { animated in
if animated {
animateOut.invoke(Action { _ in