Merge branch 'bugfix/90-error-playing-user-radio' into 'develop'
#90: Use correct radio identifier for user radio Closes #90 See merge request funkwhale/funkwhale-android!90
This commit is contained in:
commit
ee5be36f2c
|
@ -56,7 +56,7 @@ class RadiosAdapter(
|
||||||
else -> listOf(
|
else -> listOf(
|
||||||
Radio(
|
Radio(
|
||||||
0,
|
0,
|
||||||
"actor_content",
|
"actor-content",
|
||||||
context.getString(R.string.radio_your_content_title),
|
context.getString(R.string.radio_your_content_title),
|
||||||
context.getString(R.string.radio_your_content_description),
|
context.getString(R.string.radio_your_content_description),
|
||||||
username
|
username
|
||||||
|
|
|
@ -105,6 +105,7 @@ class RadioPlayer(val context: Context, val scope: CoroutineScope) {
|
||||||
|
|
||||||
prepareNextTrack(true)
|
prepareNextTrack(true)
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
|
e.logError()
|
||||||
withContext(Main) {
|
withContext(Main) {
|
||||||
context.toast(context.getString(R.string.radio_playback_error))
|
context.toast(context.getString(R.string.radio_playback_error))
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Use correct radio identifier for user radio (#90)
|
Loading…
Reference in New Issue