mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-01 12:23:44 +08:00
HighlightedText: Ensure max lines is being followed
This results in the highlighted text not always being visible. I'm not sure how to fix that, it seems rather complex.
This commit is contained in:
@ -38,6 +38,7 @@ class HighlightedText extends StatelessWidget {
|
||||
var after = text.substring(i + highlightText.length);
|
||||
|
||||
return RichText(
|
||||
maxLines: maxLines,
|
||||
text: TextSpan(
|
||||
children: [
|
||||
TextSpan(text: before, style: style),
|
||||
|
Reference in New Issue
Block a user