mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Rename textDefaultFont to defaultFont and remove unnecessary definition in RoomInputToolbarView.h
This commit is contained in:
@@ -136,8 +136,6 @@ typedef NS_ENUM(NSUInteger, RoomInputToolbarViewSendMode)
|
||||
*/
|
||||
@property (nonatomic, weak, readonly) UIButton *attachMediaButton;
|
||||
|
||||
@property (nonatomic, readonly, nonnull) UIFont *textDefaultFont;
|
||||
|
||||
/**
|
||||
Adds a voice message toolbar view to be displayed inside this input toolbar
|
||||
*/
|
||||
|
||||
@@ -154,7 +154,7 @@ static const NSTimeInterval kActionMenuComposerHeightAnimationDuration = .3;
|
||||
{
|
||||
NSMutableAttributedString *mutableTextMessage = [[NSMutableAttributedString alloc] initWithAttributedString:attributedTextMessage];
|
||||
[mutableTextMessage addAttributes:@{ NSForegroundColorAttributeName: ThemeService.shared.theme.textPrimaryColor,
|
||||
NSFontAttributeName: self.textDefaultFont }
|
||||
NSFontAttributeName: self.defaultFont }
|
||||
range:NSMakeRange(0, mutableTextMessage.length)];
|
||||
attributedTextMessage = mutableTextMessage;
|
||||
}
|
||||
@@ -181,7 +181,7 @@ static const NSTimeInterval kActionMenuComposerHeightAnimationDuration = .3;
|
||||
return self.textView.text;
|
||||
}
|
||||
|
||||
- (UIFont *)textDefaultFont
|
||||
- (UIFont *)defaultFont
|
||||
{
|
||||
if (self.textView.font)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user