Skip to content

Commit

Permalink
Prepare v2.1.8 release
Browse files Browse the repository at this point in the history
  • Loading branch information
alashow committed Dec 16, 2021
1 parent 0529944 commit 10f9d25
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions app/src/main/play/release-notes/en-GB/production.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v2.1.8
- Fix scroll position restoration on all screens
- Smoother media detail header scroll transition
- Fix crash when clicking non-navigatable queue source

v2.1.7
- Animated lists in playback sheet queue and playlist editor

Expand Down
4 changes: 2 additions & 2 deletions buildSrc/src/main/java/tm/alashow/buildSrc/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ object App {
const val compileSdkVersion = 31
const val targetSdkVersion = 31
const val minSdkVersion = 21
const val versionCode = 233
const val versionName = "2.1.73"
const val versionCode = 234
const val versionName = "2.1.8"
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ fun coverHeaderScrollProgress(listState: LazyListState, height: Dp = CoverHeader
val headerProgress = remember { mutableStateOf(0f) }
LaunchedEffect(listState) {
snapshotFlow { listState.firstVisibleItemScrollOffset }
.map { listState.firstVisibleItemScrollOffset }
.map { (it / density).dp / height }
.map { if (listState.firstVisibleItemIndex == 0) it else 1f }
.map { it.coerceIn(0f, 1f) }
Expand Down

0 comments on commit 10f9d25

Please sign in to comment.