Update dependencies and AGP

This commit is contained in:
Naveen Singh 2024-09-20 23:47:54 +05:30
parent e45568ad38
commit 4f2852e8b0
No known key found for this signature in database
GPG key ID: AF5D43C216778C0B
3 changed files with 5 additions and 7 deletions

View file

@ -853,7 +853,6 @@ class SettingsActivity : SimpleActivity() {
private fun setupExportSettings() { private fun setupExportSettings() {
binding.settingsExportHolder.setOnClickListener { binding.settingsExportHolder.setOnClickListener {
val configItems = LinkedHashMap<String, Any>().apply { val configItems = LinkedHashMap<String, Any>().apply {
put(IS_USING_SHARED_THEME, config.isUsingSharedTheme)
put(TEXT_COLOR, config.textColor) put(TEXT_COLOR, config.textColor)
put(BACKGROUND_COLOR, config.backgroundColor) put(BACKGROUND_COLOR, config.backgroundColor)
put(PRIMARY_COLOR, config.primaryColor) put(PRIMARY_COLOR, config.primaryColor)
@ -991,7 +990,6 @@ class SettingsActivity : SimpleActivity() {
for ((key, value) in configValues) { for ((key, value) in configValues) {
when (key) { when (key) {
IS_USING_SHARED_THEME -> config.isUsingSharedTheme = value.toBoolean()
TEXT_COLOR -> config.textColor = value.toInt() TEXT_COLOR -> config.textColor = value.toInt()
BACKGROUND_COLOR -> config.backgroundColor = value.toInt() BACKGROUND_COLOR -> config.backgroundColor = value.toInt()
PRIMARY_COLOR -> config.primaryColor = value.toInt() PRIMARY_COLOR -> config.primaryColor = value.toInt()

View file

@ -88,7 +88,7 @@ class WidgetConfigureActivity : SimpleActivity() {
updateBackgroundColor() updateBackgroundColor()
mTextColor = config.widgetTextColor mTextColor = config.widgetTextColor
if (mTextColor == resources.getColor(org.fossify.commons.R.color.default_widget_text_color) && config.isUsingSystemTheme) { if (mTextColor == resources.getColor(org.fossify.commons.R.color.default_widget_text_color) && isDynamicTheme()) {
mTextColor = resources.getColor(org.fossify.commons.R.color.you_primary_color, theme) mTextColor = resources.getColor(org.fossify.commons.R.color.you_primary_color, theme)
} }

View file

@ -1,8 +1,8 @@
[versions] [versions]
#jetbrains #jetbrains
kotlin = "1.9.24" kotlin = "1.9.25"
#KSP #KSP
ksp = "1.9.24-1.0.20" ksp = "1.9.25-1.0.20"
#AndroidX #AndroidX
androidx-swiperefreshlayout = "1.1.0" androidx-swiperefreshlayout = "1.1.0"
androidx-constraintlayout = "2.1.4" androidx-constraintlayout = "2.1.4"
@ -11,9 +11,9 @@ exif = "1.0.1"
#Room #Room
room = "2.6.1" room = "2.6.1"
#Fossify #Fossify
commons = "d25611c7d4" commons = "81814b5117"
#Gradle4 #Gradle4
gradlePlugins-agp = "8.5.0" gradlePlugins-agp = "8.6.1"
#Other #Other
androidGifDrawable = "1.2.25" androidGifDrawable = "1.2.25"
androidImageCropper = "4.5.0" androidImageCropper = "4.5.0"