Skip to content
This repository was archived by the owner on Aug 11, 2025. It is now read-only.

Commit b77ab12

Browse files
Nicole/poll (#3668) (WIP)
* WIP: Add pollCard() * Create poll module * Create PollScreen skeleton
1 parent 2c26ed1 commit b77ab12

File tree

8 files changed

+330
-222
lines changed

8 files changed

+330
-222
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,5 @@ node_modules/*
104104

105105
# Kotlin Compiler
106106
.kotlin/sessions/*
107+
/.idea/AndroidProjectSystem.xml
108+
/.idea/runConfigurations.xml

screen/home/src/main/java/com/ivy/home/customerjourney/CustomerJourneyCardModel.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
package com.ivy.home.customerjourney
22

3+
import android.content.Context
34
import androidx.annotation.DrawableRes
45
import androidx.compose.runtime.Immutable
56
import com.ivy.design.l0_system.Gradient
67
import com.ivy.domain.RootScreen
78
import com.ivy.legacy.IvyWalletCtx
89
import com.ivy.navigation.Navigation
10+
import com.ivy.wallet.io.persistence.datastore.IvyDataStore
911

1012
@Immutable
1113
data class CustomerJourneyCardModel(
1214
val id: String,
13-
val condition: (trnCount: Long, plannedPaymentsCount: Long, ivyContext: IvyWalletCtx) -> Boolean,
14-
15+
val condition: suspend (trnCount: Long, plannedPaymentsCount: Long, ivyContext: IvyWalletCtx, context: Context) -> Boolean,
1516
val title: String,
1617
val description: String,
1718
val cta: String?,

0 commit comments

Comments
 (0)