Autoscale story text so all content fits in viewer.

This commit is contained in:
Alex Hart
2022-10-13 15:47:33 -03:00
committed by Greyson Parrelli
parent b6db7e7af6
commit a0172ddb2f
3 changed files with 9 additions and 10 deletions

View File

@@ -168,10 +168,6 @@ public final class MultiShareArgs implements Parcelable {
return false;
}
if (!Util.isEmpty(getDraftText()) && getDraftText().split("\n").length > Stories.MAX_TEXT_STORY_LINE_COUNT) {
return false;
}
if (!Util.isEmpty(getDraftText())) {
BreakIteratorCompat breakIteratorCompat = BreakIteratorCompat.getInstance();
breakIteratorCompat.setText(getDraftText());