mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-09-30 13:19:44 +02:00
fix(lyrics): keep V3 collaborations on the primary side
This commit is contained in:
1 parent
608675a255
commit
6decce0f8b
5 files changed
+116
-45
No files matched your search
@@ -3855,6 +3855,15 @@ TextAlign _lyricTextAlign(BuildContext context, LyricLine line) {
|
||||
return context.isMornye ? TextAlign.start : TextAlign.center;
|
||||
}
|
||||
if (voice.isGroup) return TextAlign.left;
|
||||
// Provider declarations can be missing or ordered by first appearance.
|
||||
// The standard V labels retain their meaning regardless of that order.
|
||||
switch (voice.id.toLowerCase()) {
|
||||
case 'v1':
|
||||
case 'v3':
|
||||
return TextAlign.left;
|
||||
case 'v2':
|
||||
return TextAlign.right;
|
||||
}
|
||||
return voice.index.isEven ? TextAlign.left : TextAlign.right;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user