Skip to content

Commit ea27a2b

Browse files
committed
fix viewmodel missing changes
1 parent 7bfd55e commit ea27a2b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

solwave/src/main/java/com/saganize/solwave/solwave/presentation/SolwaveViewModel.kt

+12
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,18 @@ class SolwaveViewModel(
7474
private val completeEvents: CompleteEvents,
7575
private val isConnected: Boolean,
7676
) : ViewModel() {
77+
private val _state =
78+
mutableStateOf(
79+
SolwaveState(
80+
transactionParams =
81+
TransactionParams(
82+
data =
83+
TransactionPayload(
84+
transaction = transaction,
85+
),
86+
),
87+
),
88+
)
7789
val state: State<SolwaveState> = _state
7890
private var solana: Solana = Solana(HttpNetworkingRouter(RPCEndpoint.devnetSolana))
7991

0 commit comments

Comments
 (0)