mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-10-11 18:28:56 +02:00
fix(ui): align explicit badges with track titles
This commit is contained in:
1 parent
bc58a28455
commit
c9cf26fea6
2 files changed
+54
-5
No files matched your search
@@ -99,11 +99,15 @@ class ExplicitTrackTitle extends StatelessWidget {
|
||||
TextSpan(text: title),
|
||||
if (explicit)
|
||||
WidgetSpan(
|
||||
alignment: PlaceholderAlignment.middle,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.only(left: 6),
|
||||
child: ExplicitBadge(
|
||||
colorScheme: colorScheme ?? Theme.of(context).colorScheme,
|
||||
alignment: PlaceholderAlignment.baseline,
|
||||
baseline: TextBaseline.alphabetic,
|
||||
child: Transform.translate(
|
||||
offset: const Offset(0, -2),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.only(left: 6),
|
||||
child: ExplicitBadge(
|
||||
colorScheme: colorScheme ?? Theme.of(context).colorScheme,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user