Skip to content

Commit

Permalink
Merge pull request #913 from kienvo/fix-warning-flood
Browse files Browse the repository at this point in the history
Fix warning flood
mariobehling authored May 11, 2024
2 parents 7c4d9b8 + d5bb177 commit ec9fed8
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
@@ -82,6 +82,7 @@ dependencies {
implementation project(':BadgeMagicModule')

implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${versions.kotlin_version}"
implementation "org.jetbrains.kotlin:kotlin-reflect:${versions.kotlin_version}"

kapt "androidx.databinding:compiler:3.2.0-alpha11"

@@ -101,7 +102,7 @@ dependencies {
implementation 'com.google.android.material:material:1.4.0'

//Timber
implementation 'com.jakewharton.timber:timber:5.0.1'
implementation 'com.jakewharton.timber:timber:4.7.1'

implementation 'no.nordicsemi.android.support.v18:scanner:1.6.0'

Original file line number Diff line number Diff line change
@@ -130,5 +130,5 @@ inline fun wtf(t: Throwable) = Timber.wtf(t)
/** @suppress */
@PublishedApi
internal inline fun log(block: () -> Unit) {
if (Timber.treeCount > 0) block()
if (Timber.treeCount() > 0) block()
}

0 comments on commit ec9fed8

Please sign in to comment.