Skip to content

Commit

Permalink
Release v1.0.0 (#32)
Browse files Browse the repository at this point in the history
## Context
Release v1.0.0
  • Loading branch information
cmorigaki authored Mar 5, 2021
1 parent 6b7378b commit 3e1ed26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions project-config/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ ext {

AndroidConfig = [
applicationId: "br.com.recipebook",
versionCode: 1,
versionName: "0.1.0",
versionCode: 10000001, // x.xxx.xx-xx
versionName: "1.0.0",

compileSdk: 30,
buildTools: "30.0.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ fun AppBarLayout.setCollapsedAndDisableScroll(recyclerView: RecyclerView) {
// Disable AppBar scroll from the recycler view
ViewCompat.setNestedScrollingEnabled(recyclerView, false)
// Disable AppBar scroll from the AppBar
((layoutParams as CoordinatorLayout.LayoutParams).behavior as AppBarLayout.Behavior)
.setDragCallback(object : AppBarLayout.Behavior.DragCallback() {
((layoutParams as? CoordinatorLayout.LayoutParams)?.behavior as? AppBarLayout.Behavior)
?.setDragCallback(object : AppBarLayout.Behavior.DragCallback() {
override fun canDrag(appBarLayout: AppBarLayout): Boolean {
return false
}
Expand Down

0 comments on commit 3e1ed26

Please sign in to comment.