mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-20 15:34: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...');
|
return const Text('Loading...');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (snapshot.requireData.pairHash.isEmpty) {
|
|
||||||
return const Text('No pair hash.');
|
|
||||||
}
|
|
||||||
final prepareReceiveResponse = snapshot.data!;
|
final prepareReceiveResponse = snapshot.data!;
|
||||||
debugPrint(prepareReceiveResponse.pairHash);
|
|
||||||
|
|
||||||
return Column(
|
return Column(
|
||||||
children: [
|
children: [
|
||||||
@@ -121,9 +117,6 @@ class _MyAppState extends State<MyApp> {
|
|||||||
style: Theme.of(context).textTheme.headlineSmall,
|
style: Theme.of(context).textTheme.headlineSmall,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
ListTile(
|
|
||||||
title: Text("Pair Hash: ${prepareReceiveResponse.pairHash}"),
|
|
||||||
),
|
|
||||||
ListTile(
|
ListTile(
|
||||||
title: Text("Payer Amount: ${prepareReceiveResponse.payerAmountSat} (in sats)"),
|
title: Text("Payer Amount: ${prepareReceiveResponse.payerAmountSat} (in sats)"),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user