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?
|
||||
get() =
|
||||
PlaySong.fromIntCode(
|
||||
sharedPreferences.getInt(
|
||||
getString(R.string.set_key_play_in_list_with), Int.MIN_VALUE),
|
||||
sharedPreferences
|
||||
.getInt(getString(R.string.set_key_play_in_parent_with), Int.MIN_VALUE)
|
||||
.also { logD(it) },
|
||||
null)
|
||||
|
||||
override val barAction: ActionMode
|
||||
|
|
Loading…
Reference in a new issue