[6.10.0]
[fix] [添加判空]
This commit is contained in:
@@ -87,7 +87,9 @@ object AuditionManager: AuditionCacheManager.DataChangeListener, Audition.OnAudi
|
||||
fun playFirst(){
|
||||
ThreadUtils.runOnUiThread {
|
||||
if(!isPlaying()){
|
||||
toggle(musicList.first())
|
||||
if(musicList.isNotEmpty()) {
|
||||
toggle(musicList.first())
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user