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/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 = {