info: note playback state wipe in 3.0.2

Indicate that the playback state will be wiped in 3.0.2 due to the new
queue system.
This commit is contained in:
Alexander Capehart 2023-01-20 15:37:48 -07:00
parent 900bcd142e
commit f2d44b40bf
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47
3 changed files with 4 additions and 4 deletions

View file

@ -25,6 +25,7 @@ file manager
- Fixed duplicate song items from appearing
#### What's Changed
- Playback state schema was updates (will wipe state)
- Implemented new queue system
#### Dev/Meta

View file

@ -22,7 +22,6 @@ import androidx.lifecycle.AndroidViewModel
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
import org.oxycblt.auxio.home.tabs.Tab
import org.oxycblt.auxio.list.adapter.BasicListInstructions
import org.oxycblt.auxio.music.*
import org.oxycblt.auxio.music.MusicStore
import org.oxycblt.auxio.music.library.Library

View file

@ -24,6 +24,8 @@ import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListUpdateCallback
import androidx.recyclerview.widget.RecyclerView
// TODO: Re-add list instructions with a less dangerous framework.
/**
* List differ wrapper that provides more flexibility regarding the way lists are updated.
* @author Alexander Capehart (OxygenCobalt)
@ -126,9 +128,7 @@ private class RealAsyncListDiffer<T>(
}
override fun replaceList(newList: List<T>, onDone: () -> Unit) {
inner.submitList(null) {
inner.submitList(newList, onDone)
}
inner.submitList(null) { inner.submitList(newList, onDone) }
}
}