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 } }