playback: fix parent play mode not being applied
Caused by a trivial problem with key use.
This commit is contained in:
parent
4275fdbcf0
commit
ecc84dd8c8
1 changed files with 3 additions and 2 deletions
|
@ -82,8 +82,9 @@ class PlaybackSettingsImpl @Inject constructor(@ApplicationContext context: Cont
|
||||||
override val inParentPlaybackMode: PlaySong?
|
override val inParentPlaybackMode: PlaySong?
|
||||||
get() =
|
get() =
|
||||||
PlaySong.fromIntCode(
|
PlaySong.fromIntCode(
|
||||||
sharedPreferences.getInt(
|
sharedPreferences
|
||||||
getString(R.string.set_key_play_in_list_with), Int.MIN_VALUE),
|
.getInt(getString(R.string.set_key_play_in_parent_with), Int.MIN_VALUE)
|
||||||
|
.also { logD(it) },
|
||||||
null)
|
null)
|
||||||
|
|
||||||
override val barAction: ActionMode
|
override val barAction: ActionMode
|
||||||
|
|
Loading…
Reference in a new issue