mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-20 07:24:26 +01:00
Flutter example app: remove calls to inexistent field
This commit is contained in:
@@ -106,11 +106,7 @@ class _MyAppState extends State<MyApp> {
|
||||
return const Text('Loading...');
|
||||
}
|
||||
|
||||
if (snapshot.requireData.pairHash.isEmpty) {
|
||||
return const Text('No pair hash.');
|
||||
}
|
||||
final prepareReceiveResponse = snapshot.data!;
|
||||
debugPrint(prepareReceiveResponse.pairHash);
|
||||
|
||||
return Column(
|
||||
children: [
|
||||
@@ -121,9 +117,6 @@ class _MyAppState extends State<MyApp> {
|
||||
style: Theme.of(context).textTheme.headlineSmall,
|
||||
),
|
||||
),
|
||||
ListTile(
|
||||
title: Text("Pair Hash: ${prepareReceiveResponse.pairHash}"),
|
||||
),
|
||||
ListTile(
|
||||
title: Text("Payer Amount: ${prepareReceiveResponse.payerAmountSat} (in sats)"),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user