mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: require always two lines (#4068)
This commit is contained in:
parent
415f121720
commit
bb4b987681
@ -97,11 +97,21 @@ class _MobileRecentViewState extends State<MobileRecentView> {
|
|||||||
Expanded(
|
Expanded(
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.fromLTRB(8, 18, 8, 2),
|
padding: const EdgeInsets.fromLTRB(8, 18, 8, 2),
|
||||||
child: FlowyText.medium(
|
// hack: minLines currently not supported in Text widget.
|
||||||
|
// https://github.com/flutter/flutter/issues/31134
|
||||||
|
child: Stack(
|
||||||
|
children: [
|
||||||
|
FlowyText(
|
||||||
view.name,
|
view.name,
|
||||||
maxLines: 2,
|
maxLines: 2,
|
||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
),
|
),
|
||||||
|
const FlowyText(
|
||||||
|
"\n\n",
|
||||||
|
maxLines: 2,
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user