mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Ensure that home view label wraps by word.
This commit is contained in:
parent
69b5272547
commit
39e12e1a63
|
@ -223,6 +223,7 @@ NSString *const kArchivedConversationsReuseIdentifier = @"kArchivedConversations
|
|||
|
||||
// Let the label use as many lines as needed. It will very rarely be more than 2 but may happen for verbose locs.
|
||||
[emptyBoxLabel setNumberOfLines:0];
|
||||
emptyBoxLabel.lineBreakMode = NSLineBreakByWordWrapping;
|
||||
|
||||
[emptyBoxLabel autoPinLeadingToSuperviewMargin];
|
||||
[emptyBoxLabel autoPinTrailingToSuperviewMargin];
|
||||
|
|
Loading…
Reference in a new issue