mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Respond to CR.
This commit is contained in:
parent
1412998b4a
commit
92a9796e9e
2 changed files with 6 additions and 6 deletions
|
@ -6,6 +6,7 @@
|
|||
#import "OWSBezierPathView.h"
|
||||
#import "OWSProgressView.h"
|
||||
#import <SignalMessaging/UIView+OWS.h>
|
||||
#import <SignalServiceKit/AppContext.h>
|
||||
#import <SignalServiceKit/OWSUploadOperation.h>
|
||||
#import <SignalServiceKit/TSAttachmentStream.h>
|
||||
|
||||
|
@ -149,7 +150,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
const CGFloat kBubbleTailWidth = 6.f;
|
||||
CGRect bounds = self.bounds;
|
||||
bounds.size.width -= kBubbleTailWidth;
|
||||
if (self.isRTL) {
|
||||
if (CurrentAppContext().isRTL) {
|
||||
bounds.origin.x += kBubbleTailWidth;
|
||||
}
|
||||
|
||||
|
|
|
@ -771,11 +771,10 @@ NSString *const OWSContactsManagerSignalAccountsDidChangeNotification
|
|||
if (profileName.length > 0) {
|
||||
NSAttributedString *result =
|
||||
[[NSAttributedString alloc] initWithString:recipientId attributes:primaryAttributes];
|
||||
result = [result rtlSafeAppend:[[NSAttributedString alloc] initWithString:@" "] referenceView:[UIView new]];
|
||||
result = [result rtlSafeAppend:[[NSAttributedString alloc] initWithString:@"~"] referenceView:[UIView new]];
|
||||
result =
|
||||
[result rtlSafeAppend:[[NSAttributedString alloc] initWithString:profileName attributes:secondaryAttributes]
|
||||
referenceView:[UIView new]];
|
||||
result = [result rtlSafeAppend:[[NSAttributedString alloc] initWithString:@" "]];
|
||||
result = [result rtlSafeAppend:[[NSAttributedString alloc] initWithString:@"~"]];
|
||||
result = [result
|
||||
rtlSafeAppend:[[NSAttributedString alloc] initWithString:profileName attributes:secondaryAttributes]];
|
||||
return [result copy];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue