mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-22 04:28:00 +01:00
Update dependencies and AGP
This commit is contained in:
parent
e45568ad38
commit
4f2852e8b0
3 changed files with 5 additions and 7 deletions
|
@ -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()
|
||||||
|
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue