mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-02-08 07:48:53 +01:00
Fix #428
This commit is contained in:
parent
d41bd8bc07
commit
6c681ddb52
@ -1375,7 +1375,8 @@ public class PlayerFragment extends Fragment implements GestureDetector.OnGestur
|
||||
switch (playerState)
|
||||
{
|
||||
case DOWNLOADING:
|
||||
String downloadStatus = getResources().getString(R.string.download_playerstate_downloading, Util.formatPercentage(currentPlaying.getProgress().getValue()));
|
||||
int progress = currentPlaying != null ? currentPlaying.getProgress().getValue() : 0;
|
||||
String downloadStatus = getResources().getString(R.string.download_playerstate_downloading, Util.formatPercentage(progress));
|
||||
FragmentTitle.Companion.setTitle(PlayerFragment.this, downloadStatus);
|
||||
break;
|
||||
case PREPARING:
|
||||
|
Loading…
x
Reference in New Issue
Block a user