mirror of
https://github.com/Michatec/Radio.git
synced 2026-01-31 07:20:40 +00:00
- Fixing some bug fixes.
This commit is contained in:
@@ -359,7 +359,7 @@ data class LayoutHolder(var rootView: View) {
|
||||
/* Shows player */
|
||||
fun showPlayer(context: Context): Boolean {
|
||||
UiHelper.setViewMargins(context, recyclerView, 0, 0, 0, Keys.BOTTOM_SHEET_PEEK_HEIGHT)
|
||||
if (bottomSheetBehavior.state == BottomSheetBehavior.STATE_HIDDEN && onboardingLayout.visibility == View.GONE) {
|
||||
if (bottomSheetBehavior.state == BottomSheetBehavior.STATE_HIDDEN && onboardingLayout.isGone) {
|
||||
bottomSheetBehavior.state = BottomSheetBehavior.STATE_COLLAPSED
|
||||
}
|
||||
return true
|
||||
@@ -440,7 +440,7 @@ data class LayoutHolder(var rootView: View) {
|
||||
/*
|
||||
* Inner class: Custom LinearLayoutManager
|
||||
*/
|
||||
private inner class CustomLayoutManager(context: Context) :
|
||||
private class CustomLayoutManager(context: Context) :
|
||||
LinearLayoutManager(context, VERTICAL, false) {
|
||||
override fun supportsPredictiveItemAnimations(): Boolean {
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user