Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

Commit

Permalink
Misc.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaobozhen committed Aug 12, 2023
1 parent a9516da commit 7b89c92
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 25 deletions.
8 changes: 4 additions & 4 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ android {
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

androidComponents.onVariants { v ->
Expand Down Expand Up @@ -212,7 +212,7 @@ dependencies {
implementation("com.google.zxing:core:3.5.2")
implementation("com.blankj:utilcodex:1.31.1")
implementation("com.tencent:mmkv-static:1.3.1")
implementation("com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.14")
implementation("com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.11")
implementation("com.github.heruoxin.Delegated-Scopes-Manager:client:master-SNAPSHOT")
implementation("com.github.topjohnwu.libsu:core:5.2.0")
implementation("com.github.thegrizzlylabs:sardine-android:0.8")
Expand All @@ -227,7 +227,7 @@ dependencies {
implementation("com.leinardi.android:speed-dial:3.3.0")
implementation("me.zhanghai.android.fastscroll:library:1.3.0")

val shizukuVersion = "13.1.4"
val shizukuVersion = "12.2.0"
// required by Shizuku and Sui
implementation("dev.rikka.shizuku:api:$shizukuVersion")
// required by Shizuku
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.absinthe.anywhere_.adapter.applist

import android.graphics.Color
import android.view.View
import androidx.core.content.ContextCompat
import com.absinthe.anywhere_.R
import com.absinthe.anywhere_.constants.Const
Expand Down Expand Up @@ -88,7 +89,7 @@ class AppListAdapter(mode: Int) :
fun onClick(bean: AppListBean, which: Int)
}

override fun getPopupText(position: Int): String {
override fun getPopupText(view: View, position: Int): CharSequence {
return data[position].appName.ifEmpty { " " }.first().toString()
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.absinthe.anywhere_.adapter.cloud

import android.view.View
import com.absinthe.anywhere_.R
import com.absinthe.anywhere_.model.cloud.RuleEntity
import com.chad.library.adapter.base.BaseQuickAdapter
Expand All @@ -15,7 +16,7 @@ class CloudRulesAdapter :
holder.setText(R.id.tv_contributor, item.contributor)
}

override fun getPopupText(position: Int): String {
override fun getPopupText(view: View, position: Int): CharSequence {
return data[position].name.ifEmpty { " " }.first().toString()
}

Expand Down
2 changes: 1 addition & 1 deletion color-picker/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ android {

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.appcompat:appcompat:1.1.0'
}

This file was deleted.

5 changes: 0 additions & 5 deletions color-picker/src/main/AndroidManifest.xml

This file was deleted.

0 comments on commit 7b89c92

Please sign in to comment.