File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,10 @@ class Lyrics {
83
83
}
84
84
}
85
85
86
+ String _cleanPlainLyrics (String lyrics) {
87
+ return Lrc .cleanPlainLyrics (lyrics);
88
+ }
89
+
86
90
Future <void > _updateLyrics (Playable item) async {
87
91
resetLyrics ();
88
92
_currentItem = item;
@@ -108,7 +112,7 @@ class Lyrics {
108
112
currentLyricsLRC.value = lrc;
109
113
_updateWidgets (lrc);
110
114
} else {
111
- currentLyricsText.value = embedded;
115
+ currentLyricsText.value = _cleanPlainLyrics ( embedded) ;
112
116
_updateWidgets (null );
113
117
}
114
118
return ;
@@ -127,7 +131,7 @@ class Lyrics {
127
131
_updateWidgets (lrcLyrics.$1);
128
132
return ;
129
133
} else if (lrcLyrics.$2 != null ) {
130
- currentLyricsText.value = lrcLyrics.$2 ?? '' ;
134
+ currentLyricsText.value = _cleanPlainLyrics ( lrcLyrics.$2! ) ;
131
135
_updateWidgets (null );
132
136
return ;
133
137
}
@@ -142,7 +146,7 @@ class Lyrics {
142
146
if (checkInterrupted ()) return ;
143
147
144
148
if (textLyrics != '' ) {
145
- currentLyricsText.value = textLyrics;
149
+ currentLyricsText.value = _cleanPlainLyrics ( textLyrics) ;
146
150
} else {
147
151
lyricsCanBeAvailable.value = false ;
148
152
}
Original file line number Diff line number Diff line change 1
1
name : namida
2
2
description : A Beautiful and Feature-rich Music Player, With YouTube & Video Support Built in Flutter
3
3
publish_to : " none"
4
- version : 5.0.3 -beta+250302118
4
+ version : 5.0.31 -beta+250302211
5
5
6
6
environment :
7
7
sdk : " >=3.6.0 <4.0.0"
You can’t perform that action at this time.
0 commit comments