mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-08-27 13:22:49 +02:00
fix(ui): align metadata and wrap track badges
This commit is contained in:
@@ -56,5 +56,14 @@ void main() {
|
||||
separators.every((text) => text.style?.color == Colors.white70),
|
||||
isTrue,
|
||||
);
|
||||
|
||||
final durationLabel = find.text('Duration');
|
||||
final metadataRow = find
|
||||
.ancestor(of: durationLabel, matching: find.byType(Row))
|
||||
.first;
|
||||
final row = tester.widget<Row>(metadataRow);
|
||||
|
||||
expect(row.crossAxisAlignment, CrossAxisAlignment.baseline);
|
||||
expect(row.textBaseline, TextBaseline.alphabetic);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user