mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 01:45:55 +08:00
Ensure all ListTiles in FolderView are of the same height
It looks way neater this way. https://github.com/flutter/flutter/issues/31134
This commit is contained in:
@ -62,7 +62,7 @@ class JournalView extends StatelessWidget {
|
||||
var children = <Widget>[
|
||||
const SizedBox(height: 8.0),
|
||||
Text(
|
||||
note.summary,
|
||||
note.summary + '\n', // no minLines option
|
||||
maxLines: 3,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: textTheme.body1,
|
||||
|
@ -97,7 +97,7 @@ class StandardView extends StatelessWidget {
|
||||
var summary = <Widget>[
|
||||
const SizedBox(height: 8.0),
|
||||
Text(
|
||||
note.summary,
|
||||
note.summary + '\n', // no minLines option
|
||||
maxLines: 3,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: textTheme.body1,
|
||||
|
Reference in New Issue
Block a user