mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Apply design changes from Myles.
This commit is contained in:
parent
6a69070ce9
commit
bb9c1fb23d
|
@ -13,7 +13,8 @@ extern const CGFloat kBubbleHRounding;
|
|||
extern const CGFloat kBubbleThornSideInset;
|
||||
extern const CGFloat kBubbleThornVInset;
|
||||
extern const CGFloat kBubbleTextHInset;
|
||||
extern const CGFloat kBubbleTextVInset;
|
||||
extern const CGFloat kBubbleTextTopInset;
|
||||
extern const CGFloat kBubbleTextBottomInset;
|
||||
|
||||
@class OWSBubbleView;
|
||||
|
||||
|
|
|
@ -14,7 +14,8 @@ const CGFloat kBubbleHRounding = kOWSMessageCellCornerRadius;
|
|||
const CGFloat kBubbleThornSideInset = 5.f;
|
||||
const CGFloat kBubbleThornVInset = 0;
|
||||
const CGFloat kBubbleTextHInset = 10.f;
|
||||
const CGFloat kBubbleTextVInset = 10.f;
|
||||
const CGFloat kBubbleTextTopInset = 8.f;
|
||||
const CGFloat kBubbleTextBottomInset = 6.f;
|
||||
|
||||
@interface OWSBubbleView ()
|
||||
|
||||
|
|
|
@ -1003,12 +1003,12 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
|
||||
- (CGFloat)textTopMargin
|
||||
{
|
||||
return kBubbleTextVInset;
|
||||
return kBubbleTextTopInset;
|
||||
}
|
||||
|
||||
- (CGFloat)textBottomMargin
|
||||
{
|
||||
return kBubbleTextVInset + kBubbleThornVInset;
|
||||
return kBubbleTextBottomInset + kBubbleThornVInset;
|
||||
}
|
||||
|
||||
- (UIColor *)bodyTextColor
|
||||
|
|
Loading…
Reference in a new issue