shadow on both sides

This commit is contained in:
spaced4ndy
2024-07-15 13:47:51 +04:00
parent 78728263fb
commit a07920af91
7 changed files with 0 additions and 7 deletions

View File

@@ -36,7 +36,6 @@ struct ComposeFileView: View {
.background(
theme.appColors.sentMessage
.shadow(color: .black.opacity(0.12), radius: 4, x: 0, y: 0)
.mask(Rectangle().padding(.bottom, -8))
)
.frame(maxWidth: .infinity)
.padding(.top, 8)

View File

@@ -48,7 +48,6 @@ struct ComposeImageView: View {
.background(
theme.appColors.sentMessage
.shadow(color: .black.opacity(0.12), radius: 4, x: 0, y: 0)
.mask(Rectangle().padding(.bottom, -8))
)
.frame(maxWidth: .infinity)
.padding(.top, 8)

View File

@@ -65,7 +65,6 @@ struct ComposeLinkView: View {
.background(
theme.appColors.sentMessage
.shadow(color: .black.opacity(0.12), radius: 4, x: 0, y: 0)
.mask(Rectangle().padding(.bottom, -8))
)
.frame(maxWidth: .infinity)
.padding(.top, 8)

View File

@@ -667,7 +667,6 @@ struct ComposeView: View {
.background(
Color(uiColor: .tertiarySystemGroupedBackground)
.shadow(color: .black.opacity(0.12), radius: 4, x: 0, y: 0)
.mask(Rectangle().padding(.bottom, -8))
)
.padding(.top, 8)
}

View File

@@ -53,7 +53,6 @@ struct ComposeVoiceView: View {
.background(
theme.appColors.sentMessage
.shadow(color: .black.opacity(0.12), radius: 4, x: 0, y: 0)
.mask(Rectangle().padding(.bottom, -8))
)
.frame(maxWidth: .infinity)
.padding(.top, 8)

View File

@@ -23,7 +23,6 @@ struct ContextInvitingContactMemberView: View {
.background(
theme.appColors.sentMessage
.shadow(color: .black.opacity(0.12), radius: 4, x: 0, y: 0)
.mask(Rectangle().padding(.bottom, -8))
)
.padding(.top, 8)
}

View File

@@ -48,7 +48,6 @@ struct ContextItemView: View {
.background(
chatItemFrameColor(contextItem, theme)
.shadow(color: .black.opacity(0.12), radius: 4, x: 0, y: 0)
.mask(Rectangle().padding(.bottom, -8))
)
.padding(.top, 8)
}