更新 /app/build.gradle

This commit is contained in:
LittleTurtle2333
2022-02-16 18:09:22 +08:00
parent 4d3ca88da0
commit c21a82d8ad
3 changed files with 6 additions and 11 deletions

3
app/.gitignore vendored
View File

@@ -1 +1,2 @@
/build
/build
/release

View File

@@ -39,12 +39,6 @@ android {
dependencies {
compileOnly 'de.robv.android.xposed:api:82'
compileOnly 'de.robv.android.xposed:api:82:sources'
implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
implementation 'androidx.preference:preference:1.1.1'
implementation 'androidx.appcompat:appcompat:1.4.0'
implementation 'com.google.android.material:material:1.4.0'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation 'androidx.preference:preference:1.2.0'
implementation 'com.google.android.material:material:1.5.0'
}

View File

@@ -68,9 +68,9 @@ class SettingsActivity : AppCompatActivity() {
BuildConfig.VERSION_NAME + "(" + BuildConfig.BUILD_TYPE + ")"
}
override fun onPreferenceTreeClick(preference: Preference?): Boolean {
override fun onPreferenceTreeClick(preference: Preference): Boolean {
when (preference!!.key) {
when (preference.key) {
"opensource" -> {
try {
val uri =