Fix group thread layout bug

This commit is contained in:
Niels Andriesse 2020-11-30 09:40:36 +11:00
parent b0712522eb
commit ad66d71775
1 changed files with 2 additions and 7 deletions

View File

@ -91,13 +91,8 @@ public class ConversationStyle: NSObject {
@objc
public func updateProperties() {
if thread.isGroupThread() {
if thread is TSGroupThread {
gutterLeading = 16
gutterTrailing = 16
} else {
gutterLeading = 12 + 35 + 12 // 12 + Values.smallProfilePictureSize + 12
gutterTrailing = 16
}
gutterLeading = 12 + Values.smallProfilePictureSize + 12
gutterTrailing = 16
} else {
gutterLeading = 16
gutterTrailing = 16