Use textDefaultFont in all variants of the InputToolbarView

This commit is contained in:
aringenbach
2023-03-08 17:30:50 +01:00
parent 935e61e1bb
commit 000d8465d0
5 changed files with 19 additions and 6 deletions

View File

@@ -382,6 +382,8 @@ typedef enum : NSUInteger
*/
@property (nonatomic) NSAttributedString *attributedTextMessage;
@property (nonatomic, readonly, nonnull) UIFont *textDefaultFont;
- (void)dismissValidationView:(MXKImageView*)validationView;
@end

View File

@@ -358,6 +358,10 @@
self.textMessage = [NSString stringWithFormat:@"%@%@", self.textMessage, text];
}
- (UIFont *)textDefaultFont
{
return [UIFont systemFontOfSize:15.f];
}
#pragma mark - MXKFileSizes