This repository was archived by the owner on Jan 17, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
MaterialNavigationView/src/main/java/com/shreyaspatil/material/navigationview Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ class MaterialNavigationView @JvmOverloads constructor(
7777 ITEM_STYLE_ROUND_RIGHT -> R .drawable.navigation_item_background_rounded_right
7878 else -> R .drawable.navigation_item_background_rounded_rect
7979 }
80-
8180 var background = AppCompatResources .getDrawable(context, resource)
8281 if (background != null ) {
8382 val tint = AppCompatResources .getColorStateList(
@@ -92,7 +91,6 @@ class MaterialNavigationView @JvmOverloads constructor(
9291 DrawableCompat .setTintList(background, tint)
9392 }
9493 }
95-
9694 return background
9795 }
9896
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ apply plugin: 'kotlin-android-extensions'
66
77android {
88 compileSdkVersion 29
9- buildToolsVersion " 29.0.0"
109 defaultConfig {
1110 applicationId " com.shreyaspatil.MaterialNavigationDrawer.example"
1211 minSdkVersion 19
@@ -39,10 +38,10 @@ dependencies {
3938 implementation ' androidx.navigation:navigation-ui-ktx:2.0.0'
4039
4140 // Material Navigation View Library
42- implementation ' com.shreyaspatil:MaterialNavigationView:1.1'
41+ // implementation 'com.shreyaspatil:MaterialNavigationView:1.1'
4342
4443 testImplementation ' junit:junit:4.12'
4544 androidTestImplementation ' androidx.test:runner:1.2.0'
4645 androidTestImplementation ' androidx.test.espresso:espresso-core:3.2.0'
47- // implementation project(path: ':MaterialNavigationView')
46+ implementation project(path : ' :MaterialNavigationView' )
4847}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ buildscript {
88
99 }
1010 dependencies {
11- classpath ' com.android.tools.build:gradle:3.5.0 '
11+ classpath ' com.android.tools.build:gradle:3.5.3 '
1212 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
1313 // NOTE: Do not place your application dependencies here; they belong
1414 // in the individual module build.gradle files
You can’t perform that action at this time.
0 commit comments