Reduce extremes of Jumbomoji behavior.
This commit is contained in:
parent
72fba87746
commit
cebeea9189
@ -257,13 +257,13 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
case 0:
|
||||
break;
|
||||
case 1:
|
||||
return [UIFont ows_regularFontWithSize:basePointSize * 2.f];
|
||||
return [UIFont ows_regularFontWithSize:basePointSize + 18.f];
|
||||
case 2:
|
||||
return [UIFont ows_regularFontWithSize:basePointSize * 1.666f];
|
||||
return [UIFont ows_regularFontWithSize:basePointSize + 12.f];
|
||||
case 3:
|
||||
case 4:
|
||||
case 5:
|
||||
return [UIFont ows_regularFontWithSize:basePointSize * 1.333f];
|
||||
return [UIFont ows_regularFontWithSize:basePointSize + 6.f];
|
||||
default:
|
||||
OWSFail(@"%@ Unexpected jumbomoji count: %zd", self.logTag, self.displayableText.jumbomojiCount);
|
||||
break;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user