Skip to content

Commit

Permalink
Reformat & cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: starry-shivam <[email protected]>
  • Loading branch information
starry-shivam committed Mar 30, 2024
1 parent 05117d4 commit 549b990
Show file tree
Hide file tree
Showing 4 changed files with 32,721 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,11 @@ fun GoalInfoScreen(goalId: String, navController: NavController) {
Spacer(modifier = Modifier.height(6.dp))
}
if (goalData.transactions.isNotEmpty()) {
TransactionItem(goalData.getOrderedTransactions(), currencySymbol, viewModel)
TransactionItem(
goalData.getOrderedTransactions(),
currencySymbol,
viewModel
)
// Show tooltip for swipe functionality.
LaunchedEffect(key1 = true) {
if (viewModel.shouldShowTransactionTip()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ import androidx.navigation.compose.rememberNavController
import com.airbnb.lottie.compose.LottieAnimation
import com.airbnb.lottie.compose.LottieCompositionResult
import com.airbnb.lottie.compose.LottieCompositionSpec
import com.airbnb.lottie.compose.LottieConstants
import com.airbnb.lottie.compose.animateLottieCompositionAsState
import com.airbnb.lottie.compose.rememberLottieComposition
import com.maxkeppeker.sheets.core.models.base.rememberUseCaseState
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/drawable/widget_rounded_corners.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="?android:attr/colorBackground" />
<solid android:color="?android:attr/colorBackground" />
<corners android:radius="16dp" />
</shape>
32,716 changes: 32,715 additions & 1 deletion app/src/main/res/raw/congrats_lottie.json

Large diffs are not rendered by default.

0 comments on commit 549b990

Please sign in to comment.