diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml
new file mode 100644
index 00000000..7643783a
--- /dev/null
+++ b/.idea/codeStyles/Project.xml
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ xmlns:android
+
+ ^$
+
+
+
+
+
+
+
+
+ xmlns:.*
+
+ ^$
+
+
+ BY_NAME
+
+
+
+
+
+
+ .*:id
+
+ http://schemas.android.com/apk/res/android
+
+
+
+
+
+
+
+
+ .*:name
+
+ http://schemas.android.com/apk/res/android
+
+
+
+
+
+
+
+
+ name
+
+ ^$
+
+
+
+
+
+
+
+
+ style
+
+ ^$
+
+
+
+
+
+
+
+
+ .*
+
+ ^$
+
+
+ BY_NAME
+
+
+
+
+
+
+ .*
+
+ http://schemas.android.com/apk/res/android
+
+
+ ANDROID_ATTRIBUTE_ORDER
+
+
+
+
+
+
+ .*
+
+ .*
+
+
+ BY_NAME
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml
new file mode 100644
index 00000000..79ee123c
--- /dev/null
+++ b/.idea/codeStyles/codeStyleConfig.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml
index c7d93f7d..cd0b55f1 100644
--- a/.idea/deploymentTargetSelector.xml
+++ b/.idea/deploymentTargetSelector.xml
@@ -4,10 +4,10 @@
-
+
-
+
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 8978d23d..9f71c83d 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -1,6 +1,7 @@
+
-
+
diff --git a/app/src/main/java/com/starry/greenstash/ui/screens/home/composables/GoalItems.kt b/app/src/main/java/com/starry/greenstash/ui/screens/home/composables/GoalItems.kt
index 7a2097aa..a48afdef 100644
--- a/app/src/main/java/com/starry/greenstash/ui/screens/home/composables/GoalItems.kt
+++ b/app/src/main/java/com/starry/greenstash/ui/screens/home/composables/GoalItems.kt
@@ -456,7 +456,7 @@ fun GoalItemCompact(
color = MaterialTheme.colorScheme.onSecondaryContainer
)
- if (savedAmount.length >= 12) {
+ if (savedAmount.length > 10) {
Text(
text = savedAmount,
modifier = Modifier.padding(start = 4.dp),
diff --git a/app/src/main/java/com/starry/greenstash/ui/screens/settings/composables/GoalCardStyle.kt b/app/src/main/java/com/starry/greenstash/ui/screens/settings/composables/GoalCardStyle.kt
index ecbff699..edb8e1d3 100644
--- a/app/src/main/java/com/starry/greenstash/ui/screens/settings/composables/GoalCardStyle.kt
+++ b/app/src/main/java/com/starry/greenstash/ui/screens/settings/composables/GoalCardStyle.kt
@@ -71,6 +71,7 @@ import androidx.compose.ui.Alignment
import androidx.compose.ui.ExperimentalComposeUiApi
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.vector.ImageVector
+import androidx.compose.ui.input.nestedscroll.nestedScroll
import androidx.compose.ui.platform.LocalView
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.res.vectorResource
@@ -102,32 +103,37 @@ fun GoalCardStyle(navController: NavController) {
val currentStyle = settingsVM.goalCardStyle.observeAsState().value!!
val scrollBehavior = TopAppBarDefaults.exitUntilCollapsedScrollBehavior()
- Scaffold(modifier = Modifier.fillMaxSize(), topBar = {
- LargeTopAppBar(
- modifier = Modifier.fillMaxWidth(),
- title = {
- Text(
- text = stringResource(id = R.string.goal_card_settings_header),
- maxLines = 1,
- overflow = TextOverflow.Ellipsis,
- fontFamily = greenstashFont,
- )
- }, navigationIcon = {
- IconButton(onClick = {
- view.weakHapticFeedback()
- navController.navigateUp()
- }) {
- Icon(
- imageVector = Icons.AutoMirrored.Filled.ArrowBack,
- contentDescription = null
+ Scaffold(
+ modifier = Modifier
+ .fillMaxSize()
+ .nestedScroll(scrollBehavior.nestedScrollConnection),
+ topBar = {
+ LargeTopAppBar(
+ modifier = Modifier.fillMaxWidth(),
+ title = {
+ Text(
+ text = stringResource(id = R.string.goal_card_settings_header),
+ maxLines = 1,
+ overflow = TextOverflow.Ellipsis,
+ fontFamily = greenstashFont,
)
- }
- }, scrollBehavior = scrollBehavior, colors = TopAppBarDefaults.largeTopAppBarColors(
- containerColor = MaterialTheme.colorScheme.surface,
- scrolledContainerColor = MaterialTheme.colorScheme.surface,
+ }, navigationIcon = {
+ IconButton(onClick = {
+ view.weakHapticFeedback()
+ navController.navigateUp()
+ }) {
+ Icon(
+ imageVector = Icons.AutoMirrored.Filled.ArrowBack,
+ contentDescription = null
+ )
+ }
+ }, scrollBehavior = scrollBehavior, colors = TopAppBarDefaults.largeTopAppBarColors(
+ containerColor = MaterialTheme.colorScheme.surface,
+ scrolledContainerColor = MaterialTheme.colorScheme.surface,
+ )
)
- )
- }) { paddingValues ->
+ }
+ ) { paddingValues ->
Column(
modifier = Modifier
.fillMaxSize()