Make editing text flexible (#3492)
* Make editing text flexible * chore: simplify pangea comments --------- Co-authored-by: ggurdin <ggurdin@gmail.com>
This commit is contained in:
parent
cc9fa75c34
commit
473ca66f48
1 changed files with 27 additions and 13 deletions
|
|
@ -68,21 +68,35 @@ class _EditContent extends StatelessWidget {
|
|||
color: theme.colorScheme.primary,
|
||||
),
|
||||
Container(width: 15.0),
|
||||
Text(
|
||||
// #Pangea
|
||||
textScaler: TextScaler.noScaling,
|
||||
// Pangea#
|
||||
event.calcLocalizedBodyFallback(
|
||||
MatrixLocals(L10n.of(context)),
|
||||
withSenderNamePrefix: false,
|
||||
hideReply: true,
|
||||
),
|
||||
overflow: TextOverflow.ellipsis,
|
||||
maxLines: 1,
|
||||
style: TextStyle(
|
||||
color: theme.textTheme.bodyMedium!.color,
|
||||
// #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,
|
||||
event.calcLocalizedBodyFallback(
|
||||
MatrixLocals(L10n.of(context)),
|
||||
withSenderNamePrefix: false,
|
||||
hideReply: true,
|
||||
),
|
||||
overflow: TextOverflow.ellipsis,
|
||||
maxLines: 1,
|
||||
style: TextStyle(
|
||||
color: theme.textTheme.bodyMedium!.color,
|
||||
),
|
||||
),
|
||||
),
|
||||
// Pangea#
|
||||
],
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue