Make editing text flexible (#3492)

* Make editing text flexible

* chore: simplify pangea comments

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
pull/2245/head
Kelrap 4 months ago committed by GitHub
parent cc9fa75c34
commit 473ca66f48
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -68,10 +68,22 @@ class _EditContent extends StatelessWidget {
color: theme.colorScheme.primary, color: theme.colorScheme.primary,
), ),
Container(width: 15.0), Container(width: 15.0),
Text(
// #Pangea // #Pangea
// Text(
// event.calcLocalizedBodyFallback(
// MatrixLocals(L10n.of(context)),
// withSenderNamePrefix: false,
// hideReply: true,
// ),
// overflow: TextOverflow.ellipsis,
// maxLines: 1,
// style: TextStyle(
// color: theme.textTheme.bodyMedium!.color,
// ),
// ),
Flexible(
child: Text(
textScaler: TextScaler.noScaling, textScaler: TextScaler.noScaling,
// Pangea#
event.calcLocalizedBodyFallback( event.calcLocalizedBodyFallback(
MatrixLocals(L10n.of(context)), MatrixLocals(L10n.of(context)),
withSenderNamePrefix: false, withSenderNamePrefix: false,
@ -83,6 +95,8 @@ class _EditContent extends StatelessWidget {
color: theme.textTheme.bodyMedium!.color, color: theme.textTheme.bodyMedium!.color,
), ),
), ),
),
// Pangea#
], ],
); );
} }

Loading…
Cancel
Save