Browse Source

更新Tooltip依赖解决函数丢失问题

drake 3 years ago
parent
commit
6c10633e52
3 changed files with 4 additions and 4 deletions
  1. 1 1
      net/build.gradle
  2. 1 1
      net/src/main/java/com/drake/net/NetConfig.kt
  3. 2 2
      sample/build.gradle

+ 1 - 1
net/build.gradle

@@ -60,7 +60,7 @@ dependencies {
     testImplementation "junit:junit:4.13.2"
     androidTestImplementation "androidx.test:runner:1.3.0"
     androidTestImplementation "androidx.test.espresso:espresso-core:3.3.0"
-    implementation "com.github.liangjingkanji:Tooltip:1.1.0"
+    implementation "com.github.liangjingkanji:Tooltip:1.1.1"
 
     compileOnly "com.squareup.okhttp3:okhttp:$okhttp_version"
 

+ 1 - 1
net/src/main/java/com/drake/net/NetConfig.kt

@@ -91,7 +91,7 @@ object NetConfig {
         }
 
         if (logEnabled) printStackTrace()
-        app.toast(message)
+        toast(message)
     }
 
     var onStateError: Throwable.(view: View) -> Unit = {

+ 2 - 2
sample/build.gradle

@@ -96,8 +96,8 @@ dependencies {
     // ------------------------------其他库-------------------------------------
     implementation "com.github.bumptech.glide:glide:$glide_version" // 提供下载图片功能
     implementation 'com.github.liangjingkanji:StatusBar:1.1.1' // 透明状态栏
-    implementation 'com.github.liangjingkanji:debugkit:1.2.10' // 开发调试窗口工具
-    implementation 'com.github.liangjingkanji:Tooltip:1.1.0' // 吐司工具
+    implementation 'com.github.liangjingkanji:debugkit:1.2.11' // 开发调试窗口工具
+    implementation 'com.github.liangjingkanji:Tooltip:1.1.1' // 吐司工具
 
     // ------------------------------Google数据库-------------------------------------
     implementation "androidx.room:room-runtime:$room_version"