Update dependencies

This commit is contained in:
arkon 2021-11-18 10:42:09 -05:00
parent 25784d1fe5
commit b4ba56bfb4
4 changed files with 6 additions and 6 deletions

View file

@ -149,10 +149,10 @@ dependencies {
// AndroidX libraries // AndroidX libraries
implementation("androidx.annotation:annotation:1.3.0") implementation("androidx.annotation:annotation:1.3.0")
implementation("androidx.appcompat:appcompat:1.4.0-rc01") implementation("androidx.appcompat:appcompat:1.4.0-rc01")
implementation("androidx.biometric:biometric-ktx:1.2.0-alpha03") implementation("androidx.biometric:biometric-ktx:1.2.0-alpha04")
implementation("androidx.browser:browser:1.4.0") implementation("androidx.browser:browser:1.4.0")
implementation("androidx.constraintlayout:constraintlayout:2.1.1") implementation("androidx.constraintlayout:constraintlayout:2.1.1")
implementation("androidx.coordinatorlayout:coordinatorlayout:1.1.0") implementation("androidx.coordinatorlayout:coordinatorlayout:1.2.0-beta01")
implementation("androidx.core:core-ktx:1.7.0") implementation("androidx.core:core-ktx:1.7.0")
implementation("androidx.core:core-splashscreen:1.0.0-alpha02") implementation("androidx.core:core-splashscreen:1.0.0-alpha02")
implementation("androidx.recyclerview:recyclerview:1.3.0-alpha01") implementation("androidx.recyclerview:recyclerview:1.3.0-alpha01")
@ -210,7 +210,7 @@ dependencies {
implementation("com.github.requery:sqlite-android:3.36.0") implementation("com.github.requery:sqlite-android:3.36.0")
// Preferences // Preferences
implementation("androidx.preference:preference-ktx:1.1.1") implementation("androidx.preference:preference-ktx:1.2.0-beta01")
implementation("com.github.tfcporciuncula.flow-preferences:flow-preferences:1.4.0") implementation("com.github.tfcporciuncula.flow-preferences:flow-preferences:1.4.0")
// Model View Presenter // Model View Presenter

View file

@ -94,7 +94,7 @@ abstract class SettingsController : PreferenceController() {
activity!!.theme.resolveAttribute(R.attr.preferenceTheme, tv, true) activity!!.theme.resolveAttribute(R.attr.preferenceTheme, tv, true)
themedContext = ContextThemeWrapper(activity, tv.resourceId) themedContext = ContextThemeWrapper(activity, tv.resourceId)
val screen = preferenceManager.createPreferenceScreen(themedContext) val screen = preferenceManager.createPreferenceScreen(themedContext!!)
preferenceScreen = screen preferenceScreen = screen
setupPreferenceScreen(screen) setupPreferenceScreen(screen)
} }

View file

@ -189,7 +189,7 @@ var Preference.summaryRes: Int
var Preference.iconTint: Int var Preference.iconTint: Int
get() = 0 // set only get() = 0 // set only
set(value) { set(value) {
icon.setTint(value) icon?.setTint(value)
} }
var ListPreference.entriesRes: Array<Int> var ListPreference.entriesRes: Array<Int>

View file

@ -1,6 +1,6 @@
object BuildPluginsVersion { object BuildPluginsVersion {
const val AGP = "7.0.3" const val AGP = "7.0.3"
const val KOTLIN = "1.5.31" const val KOTLIN = "1.6.0"
const val KOTLINTER = "3.6.0" const val KOTLINTER = "3.6.0"
const val VERSIONS_PLUGIN = "0.39.0" const val VERSIONS_PLUGIN = "0.39.0"
const val ABOUTLIB_PLUGIN = "8.9.3" const val ABOUTLIB_PLUGIN = "8.9.3"