From fa819c978d4c55af34f57594c7af9e2ee532525c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C9=91rry=20Shiv=C9=91m?= Date: Wed, 1 May 2024 19:44:37 +0530 Subject: [PATCH] Bump version (#113) * Minor improvements * Bump version --------- Signed-off-by: starry-shivam --- .idea/deploymentTargetDropDown.xml | 15 +-------------- app/build.gradle | 4 ++-- .../ui/screens/home/composables/HomeScreen.kt | 10 ++++++---- .../screens/info/composables/PriorityIndicator.kt | 2 +- .../ui/screens/other/AppLockedScreen.kt | 2 +- .../settings/composables/SettingsScreen.kt | 2 +- .../com/starry/greenstash/utils/PreferenceUtil.kt | 4 ++-- build.gradle | 2 +- .../metadata/android/en-US/changelogs/350.txt | 7 +++++++ 9 files changed, 22 insertions(+), 26 deletions(-) create mode 100644 fastlane/metadata/android/en-US/changelogs/350.txt diff --git a/.idea/deploymentTargetDropDown.xml b/.idea/deploymentTargetDropDown.xml index 4fec7fca..0c0c3383 100644 --- a/.idea/deploymentTargetDropDown.xml +++ b/.idea/deploymentTargetDropDown.xml @@ -3,20 +3,7 @@ - - - - - - - - - - - - - - + diff --git a/app/build.gradle b/app/build.gradle index eb3e91e5..25f74eca 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -16,8 +16,8 @@ android { applicationId "com.starry.greenstash" minSdk 24 targetSdk 34 - versionCode 340 - versionName "3.4.0" + versionCode 350 + versionName "3.5.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables { diff --git a/app/src/main/java/com/starry/greenstash/ui/screens/home/composables/HomeScreen.kt b/app/src/main/java/com/starry/greenstash/ui/screens/home/composables/HomeScreen.kt index 1b8f09f2..f67940fa 100644 --- a/app/src/main/java/com/starry/greenstash/ui/screens/home/composables/HomeScreen.kt +++ b/app/src/main/java/com/starry/greenstash/ui/screens/home/composables/HomeScreen.kt @@ -158,7 +158,7 @@ fun HomeScreen(navController: NavController) { ) { val showTapTargets = remember { mutableStateOf(false) } LaunchedEffect(key1 = viewModel.showOnboardingTapTargets.value) { - delay(300) // Delay to prevent flickering + delay(800) // Delay to prevent flickering showTapTargets.value = viewModel.showOnboardingTapTargets.value } TapTargetCoordinator( @@ -221,13 +221,15 @@ fun HomeScreen(navController: NavController) { ) { if (allGoalState.value.isEmpty()) { var showNoGoalsAnimation by remember { mutableStateOf(false) } - LaunchedEffect(key1 = true, block = { delay(200) showNoGoalsAnimation = true }) - - if (showNoGoalsAnimation) { + AnimatedVisibility( + visible = showNoGoalsAnimation, + enter = fadeIn(), + exit = fadeOut() + ) { NoGoalAnimation() } } else { diff --git a/app/src/main/java/com/starry/greenstash/ui/screens/info/composables/PriorityIndicator.kt b/app/src/main/java/com/starry/greenstash/ui/screens/info/composables/PriorityIndicator.kt index c7834063..94a6ade7 100644 --- a/app/src/main/java/com/starry/greenstash/ui/screens/info/composables/PriorityIndicator.kt +++ b/app/src/main/java/com/starry/greenstash/ui/screens/info/composables/PriorityIndicator.kt @@ -46,7 +46,7 @@ import androidx.compose.ui.unit.dp @Composable fun PriorityIndicator(modifier: Modifier = Modifier, color: Color) { val value by rememberInfiniteTransition(label = "value").animateFloat( - initialValue = 0.6f, + initialValue = 0.8f, targetValue = 1f, animationSpec = infiniteRepeatable( animation = tween( diff --git a/app/src/main/java/com/starry/greenstash/ui/screens/other/AppLockedScreen.kt b/app/src/main/java/com/starry/greenstash/ui/screens/other/AppLockedScreen.kt index b1ed7aaa..8371781f 100644 --- a/app/src/main/java/com/starry/greenstash/ui/screens/other/AppLockedScreen.kt +++ b/app/src/main/java/com/starry/greenstash/ui/screens/other/AppLockedScreen.kt @@ -133,7 +133,7 @@ private fun LockIconCard() { .clip(CircleShape) .animateContentSize(), colors = CardDefaults.cardColors( - containerColor = MaterialTheme.colorScheme.surfaceColorAtElevation(2.dp) + containerColor = MaterialTheme.colorScheme.surfaceColorAtElevation(5.dp) ) ) { Box( diff --git a/app/src/main/java/com/starry/greenstash/ui/screens/settings/composables/SettingsScreen.kt b/app/src/main/java/com/starry/greenstash/ui/screens/settings/composables/SettingsScreen.kt index ed1ef733..385bf297 100644 --- a/app/src/main/java/com/starry/greenstash/ui/screens/settings/composables/SettingsScreen.kt +++ b/app/src/main/java/com/starry/greenstash/ui/screens/settings/composables/SettingsScreen.kt @@ -368,7 +368,7 @@ private fun ThemeBottomSheet( Row( modifier = Modifier .fillMaxWidth() - .padding(top = 4.dp, bottom = 20.dp, end = 14.dp) + .padding(top = 8.dp, bottom = 20.dp, end = 14.dp) ) { Spacer(modifier = Modifier.weight(1f)) TextButton(onClick = { diff --git a/app/src/main/java/com/starry/greenstash/utils/PreferenceUtil.kt b/app/src/main/java/com/starry/greenstash/utils/PreferenceUtil.kt index f32347a1..a027815d 100644 --- a/app/src/main/java/com/starry/greenstash/utils/PreferenceUtil.kt +++ b/app/src/main/java/com/starry/greenstash/utils/PreferenceUtil.kt @@ -50,8 +50,8 @@ class PreferenceUtil(context: Context) { // Onboarding preferences const val HOME_SCREEN_ONBOARDING_BOOL = "show_home_screen_onboarding" const val INPUT_SCREEN_ONBOARDING_BOOL = "show_input_onboarding" - const val INPUT_REMOVE_DEADLINE_TIP_BOOL = "show_input_remove_deadline_tip" - const val INFO_TRANSACTION_SWIPE_TIP_BOOL = "show_info_transaction_swipe_tip" + const val INPUT_REMOVE_DEADLINE_TIP_BOOL = "input_remove_deadline_tip" + const val INFO_TRANSACTION_SWIPE_TIP_BOOL = "info_transaction_swipe_tip" } private var prefs: SharedPreferences diff --git a/build.gradle b/build.gradle index aba91539..fe9bca8b 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ buildscript { ext { kotlin_version = '1.9.23' gradle_version = '8.3.2' - hilt_version = '2.49' + hilt_version = '2.50' room_version = '2.6.1' } repositories { diff --git a/fastlane/metadata/android/en-US/changelogs/350.txt b/fastlane/metadata/android/en-US/changelogs/350.txt new file mode 100644 index 00000000..28f2049f --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/350.txt @@ -0,0 +1,7 @@ +- Added black amoled theme. +- Add soft haptic feedbacks for better user experience. +- Improved navigation animations for smoother transitions between screens. +- Improved icon picker and filter dialogs. +- Improved UI of tip card. +- Improved default color scheme. +- Some other minor improvements and bug fixes. \ No newline at end of file