mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-03-30 20:45:49 +00:00
shadow on both sides
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user