Skip to content
This repository was archived by the owner on Jan 17, 2023. It is now read-only.

Commit d8669e1

Browse files
committed
Updated Project files
1 parent a7a69b0 commit d8669e1

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.idea/codeStyles/Project.xml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

MaterialNavigationView/src/main/java/com/shreyaspatil/material/navigationview/MaterialNavigationView.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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

app/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ apply plugin: 'kotlin-android-extensions'
66

77
android {
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
}

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)