fixed failed ultrasonic:ktlintMainSourceSetCheck

Signed-off-by: Holger Müller <github@euhm.de>
This commit is contained in:
Holger Müller 2022-03-19 14:51:39 +01:00
parent 8f18192c36
commit cc5f29ca98
No known key found for this signature in database
GPG Key ID: 016F07C42F7AC2B1
1 changed files with 9 additions and 6 deletions

View File

@ -992,17 +992,20 @@ class PlayerFragment :
)
currentSong!!.suffix
else
String.format(Locale.ROOT, "%s > %s", currentSong!!.suffix,
currentSong!!.transcodedSuffix)
String.format(
Locale.ROOT, "%s > %s", currentSong!!.suffix,
currentSong!!.transcodedSuffix
)
val details: String = String.format(
Util.appContext().getString(R.string.song_details_nowplaying),
currentSong!!.genre, currentSong!!.year, currentSong!!.bitRate, fileFormat
)
detailsTextView.text = details
if (Settings.showNowPlayingDetails)
detailsTextView.visibility = View.VISIBLE
else
detailsTextView.visibility = View.GONE
detailsTextView.visibility =
if (Settings.showNowPlayingDetails)
View.VISIBLE
else
View.GONE
downloadTrackTextView.text = trackFormat
downloadTotalDurationTextView.text = duration