[Flutter] Pass paymentsStream as a broadcast streams

This commit is contained in:
Erdem Yerebasmaz
2024-05-24 12:18:54 +03:00
parent 7b1b78a2d9
commit fed19151fd
2 changed files with 7 additions and 5 deletions

View File

@@ -47,8 +47,10 @@ class HomePageBottomAppBar extends StatelessWidget {
onPressed: () {
showDialog(
context: context,
builder: (context) =>
ReceivePaymentDialog(liquidSDK: liquidSDK, paymentsStream: paymentsStream),
builder: (context) => ReceivePaymentDialog(
liquidSDK: liquidSDK,
paymentsStream: paymentsStream.asBroadcastStream(),
),
);
},
child: Text(