From c7de7d9bb9a2edc977bdc339650430aac82d15b0 Mon Sep 17 00:00:00 2001 From: shamim-emon Date: Wed, 11 Sep 2024 17:50:43 +0600 Subject: [PATCH] fix-issue-3455 --- .../navigation/src/main/java/com/ivy/navigation/Screens.kt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/shared/ui/navigation/src/main/java/com/ivy/navigation/Screens.kt b/shared/ui/navigation/src/main/java/com/ivy/navigation/Screens.kt index 13c67e6199..7da0e18f95 100644 --- a/shared/ui/navigation/src/main/java/com/ivy/navigation/Screens.kt +++ b/shared/ui/navigation/src/main/java/com/ivy/navigation/Screens.kt @@ -41,7 +41,10 @@ data class TransactionsScreen( val transactionType: TransactionType? = null, val accountIdFilterList: List = persistentListOf(), val transactions: List = persistentListOf() -) : Screen +) : Screen { + override val isLegacy: Boolean + get() = true +} data class PieChartStatisticScreen( val type: TransactionType, @@ -68,7 +71,7 @@ data class EditPlannedScreen( fun mandatoryFilled(): Boolean { return amount != null && amount > 0.0 && - accountId != null + accountId != null } }