Skip to content

Commit

Permalink
Merge branch 'release/v7.0.0-rc08'
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepenz committed Oct 5, 2019
2 parents 8f4a394 + 78388e6 commit 8a0e246
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ You can find some frequently asked questions and other resources in the [WIKI /

## Latest releases

- Kotlin | [v7.0.0-rc07](https://github.com/mikepenz/MaterialDrawer/tree/v7.0.0-rc07)
- Kotlin | [v7.0.0-rc07](https://github.com/mikepenz/MaterialDrawer/tree/v7.0.0-rc08)
- Java && AndroidX | [v6.1.2](https://github.com/mikepenz/MaterialDrawer/tree/v6.1.2)
- Java && AppCompat | [v6.0.9](https://github.com/mikepenz/MaterialDrawer/tree/v6.0.9)

Expand Down
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
kotlin_version = '1.3.50'

release = [
versionName: "7.0.0-rc07",
versionName: "7.0.0-rc08",
versionCode: 7000
]

Expand All @@ -19,13 +19,13 @@ buildscript {
androidX : '1.0.0',
annotation : '1.1.0',
recyclerView : '1.1.0-beta04',
material : '1.1.0-alpha10',
material : '1.1.0-beta01',
appcompat : '1.1.0',
drawerlayout : '1.1.0-alpha03',
constraintLayout : '2.0.0-beta2',
cardview : '1.0.0',
kotlin : "1.3.50",
fastadapter : "4.1.0-b02",
fastadapter : "4.1.0",
iconics : "4.0.1-b02",
navigation : "2.1.0",
slidingpaneLayout: "1.0.0"
Expand All @@ -38,7 +38,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
classpath 'com.android.tools.build:gradle:3.5.1'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -415,9 +415,7 @@ abstract class AbstractDrawerItem<T, VH : RecyclerView.ViewHolder> : IDrawerItem
*/
protected fun getShapeAppearanceModel(ctx: Context): ShapeAppearanceModel {
val cornerRadius = ctx.resources.getDimensionPixelSize(R.dimen.material_drawer_item_corner_radius)

return ShapeAppearanceModel()
.withCornerRadius(cornerRadius.toFloat())
return ShapeAppearanceModel().withCornerSize(cornerRadius.toFloat())
}

/**
Expand Down

0 comments on commit 8a0e246

Please sign in to comment.