mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-19 03:05:23 +00:00
remove diff
This commit is contained in:
@@ -14,7 +14,6 @@ struct ChatInfoImage: View {
|
||||
@ObservedObject var chat: Chat
|
||||
var size: CGFloat
|
||||
var color = Color(uiColor: .tertiarySystemGroupedBackground)
|
||||
var backgroundColor: Color? = nil
|
||||
|
||||
var body: some View {
|
||||
let iconColor = if case .local = chat.chatInfo { theme.appColors.primaryVariant2 } else { color }
|
||||
@@ -22,8 +21,7 @@ struct ChatInfoImage: View {
|
||||
imageStr: chat.chatInfo.image,
|
||||
iconName: chatIconName(chat.chatInfo),
|
||||
size: size,
|
||||
color: iconColor,
|
||||
backgroundColor: backgroundColor
|
||||
color: iconColor
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user