From 1bac4ec5efdc48ce0c38da48f409151b3b686888 Mon Sep 17 00:00:00 2001 From: aleksey-saenko Date: Thu, 14 Dec 2023 20:12:07 +0300 Subject: [PATCH] Update dependencies and metadata --- fastlane/metadata/android/en-US/changelogs/10.txt | 2 ++ fastlane/metadata/android/ru/changelogs/10.txt | 2 ++ .../preferences/presentation/about/AboutScreen.kt | 4 +++- .../feature/track/presentation/lyrics/FontStyleDialog.kt | 9 +++------ gradle/libs.versions.toml | 4 ++-- 5 files changed, 12 insertions(+), 9 deletions(-) create mode 100644 fastlane/metadata/android/en-US/changelogs/10.txt create mode 100644 fastlane/metadata/android/ru/changelogs/10.txt diff --git a/fastlane/metadata/android/en-US/changelogs/10.txt b/fastlane/metadata/android/en-US/changelogs/10.txt new file mode 100644 index 00000000..da5b9ec8 --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/10.txt @@ -0,0 +1,2 @@ +* Added buttons for Web and Wikipedia search +* Minor UI changes \ No newline at end of file diff --git a/fastlane/metadata/android/ru/changelogs/10.txt b/fastlane/metadata/android/ru/changelogs/10.txt new file mode 100644 index 00000000..c1debc8f --- /dev/null +++ b/fastlane/metadata/android/ru/changelogs/10.txt @@ -0,0 +1,2 @@ +* Добавлены кнопки для веб-поиска информации о треке +* Незначительные изменения внешнего вида \ No newline at end of file diff --git a/feature/preferences/src/main/java/com/mrsep/musicrecognizer/feature/preferences/presentation/about/AboutScreen.kt b/feature/preferences/src/main/java/com/mrsep/musicrecognizer/feature/preferences/presentation/about/AboutScreen.kt index 089f0971..65012703 100644 --- a/feature/preferences/src/main/java/com/mrsep/musicrecognizer/feature/preferences/presentation/about/AboutScreen.kt +++ b/feature/preferences/src/main/java/com/mrsep/musicrecognizer/feature/preferences/presentation/about/AboutScreen.kt @@ -23,6 +23,7 @@ import androidx.compose.ui.input.nestedscroll.nestedScroll import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.res.painterResource import androidx.compose.ui.res.stringResource +import androidx.compose.ui.text.font.FontWeight import androidx.compose.ui.text.style.TextAlign import androidx.compose.ui.unit.dp import com.mrsep.musicrecognizer.core.common.util.getAppVersion @@ -77,7 +78,8 @@ internal fun AboutScreen( Text( text = version, textAlign = TextAlign.Center, - modifier = Modifier.padding(top = 4.dp) + fontWeight = FontWeight.SemiBold, + modifier = Modifier.padding(top = 2.dp) ) PreferenceGroup( title = stringResource(StringsR.string.powered_by), diff --git a/feature/track/src/main/java/com/mrsep/musicrecognizer/feature/track/presentation/lyrics/FontStyleDialog.kt b/feature/track/src/main/java/com/mrsep/musicrecognizer/feature/track/presentation/lyrics/FontStyleDialog.kt index eb1aaae0..15f68d47 100644 --- a/feature/track/src/main/java/com/mrsep/musicrecognizer/feature/track/presentation/lyrics/FontStyleDialog.kt +++ b/feature/track/src/main/java/com/mrsep/musicrecognizer/feature/track/presentation/lyrics/FontStyleDialog.kt @@ -12,7 +12,6 @@ import androidx.compose.material3.Text import androidx.compose.material3.TextButton import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier -import androidx.compose.ui.draw.alpha import androidx.compose.ui.res.stringResource import androidx.compose.ui.unit.dp import com.mrsep.musicrecognizer.core.ui.components.DialogSwitch @@ -46,10 +45,7 @@ internal fun FontStyleDialog( ) Text( text = stringResource(StringsR.string.make_text_bigger_or_smaller), - style = MaterialTheme.typography.bodyMedium, - modifier = Modifier - .alpha(0.9f) - .padding(top = 8.dp) + modifier = Modifier.padding(top = 8.dp) ) Slider( value = fontStyle.fontSize.ordinal.toFloat(), @@ -58,7 +54,8 @@ internal fun FontStyleDialog( onFontStyleChanged(fontStyle.copy(fontSize = fontSize)) }, valueRange = 0f..3f, - steps = 2 + steps = 2, + modifier = Modifier.padding(top = 8.dp) ) Column( verticalArrangement = Arrangement.spacedBy(2.dp), diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 8c519141..ab679891 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -5,7 +5,7 @@ sdkTarget = "34" accompanist = "0.32.0" androidGradlePlugin = "8.2.0" -androidxActivity = "1.8.1" +androidxActivity = "1.8.2" androidxComposeBom = "2023.10.01" androidxComposeCompiler = "1.5.6" androidxCore = "1.12.0" @@ -15,7 +15,7 @@ androidxEspresso = "3.5.1" #androidxGlance = "1.0.0" androidxLifecycle = "2.6.2" androidxLifecycleViewmodelCompose = "2.6.2" -androidxNavigation = "2.7.5" +androidxNavigation = "2.7.6" androidxWindowManager = "1.2.0" androidxWork = "2.9.0" coil = "2.5.0"