Fix fonts and edition on replies

This commit is contained in:
aringenbach
2022-05-04 12:17:21 +02:00
parent 4cdf8b31cd
commit 8077b8058d
10 changed files with 45 additions and 19 deletions
@@ -24,12 +24,12 @@
/**
Destination of the message in the composer
*/
typedef enum : NSUInteger
typedef NS_ENUM(NSUInteger, RoomInputToolbarViewSendMode)
{
RoomInputToolbarViewSendModeSend,
RoomInputToolbarViewSendModeReply,
RoomInputToolbarViewSendModeEdit
} RoomInputToolbarViewSendMode;
};
@protocol RoomInputToolbarViewDelegate <MXKRoomInputToolbarViewDelegate>
@@ -116,7 +116,7 @@ typedef enum : NSUInteger
*/
@property (nonatomic) NSAttributedString *attributedTextMessage;
@property (nonatomic, readonly) UIFont *textDefaultFont;
@property (nonatomic, readonly, nonnull) UIFont *textDefaultFont;
/**
Adds a voice message toolbar view to be displayed inside this input toolbar
@@ -185,7 +185,7 @@ static const NSTimeInterval kActionMenuComposerHeightAnimationDuration = .3;
}
else
{
return ThemeService.shared.theme.fonts.body;
return [UIFont systemFontOfSize:15.f];
}
}