Fix group thread layout bug
This commit is contained in:
parent
b0712522eb
commit
ad66d71775
|
@ -91,13 +91,8 @@ public class ConversationStyle: NSObject {
|
||||||
@objc
|
@objc
|
||||||
public func updateProperties() {
|
public func updateProperties() {
|
||||||
if thread.isGroupThread() {
|
if thread.isGroupThread() {
|
||||||
if thread is TSGroupThread {
|
gutterLeading = 12 + Values.smallProfilePictureSize + 12
|
||||||
gutterLeading = 16
|
|
||||||
gutterTrailing = 16
|
gutterTrailing = 16
|
||||||
} else {
|
|
||||||
gutterLeading = 12 + 35 + 12 // 12 + Values.smallProfilePictureSize + 12
|
|
||||||
gutterTrailing = 16
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
gutterLeading = 16
|
gutterLeading = 16
|
||||||
gutterTrailing = 16
|
gutterTrailing = 16
|
||||||
|
|
Loading…
Reference in New Issue