fix: grid theming to bottom row count number (#3510)

* fix: theming to bottom count number

* refactor: Row to RichText
This commit is contained in:
Lakhan Baheti
2023-09-24 17:55:47 +05:30
committed by GitHub
parent 375ff5ed6d
commit fd4088aed0
8 changed files with 35 additions and 14 deletions

View File

@ -899,9 +899,7 @@ extension AppFlowyDatabaseTest on WidgetTester {
}
Future<void> assertRowCountInGridPage(int num) async {
final text = find.byWidgetPredicate(
(widget) => widget is FlowyText && widget.text == rowCountString(num),
);
final text = find.text('${rowCountString()} $num',findRichText: true);
expect(text, findsOneWidget);
}