diff --git a/app/lib/pages/receive_page.dart b/app/lib/pages/receive_page.dart index 21519c52..8c08cc1d 100644 --- a/app/lib/pages/receive_page.dart +++ b/app/lib/pages/receive_page.dart @@ -163,11 +163,13 @@ class _ReceivePageState extends State with Refena { mainAxisAlignment: MainAxisAlignment.center, children: [ TextButton.icon( - onPressed: !vm.sender.https ? null : () async => await context.push( - () => VerifyPage( - fingerprint: CombinedFingerprint.load(context, vm.sender.fingerprint), - ), - ), + onPressed: !vm.sender.https + ? null + : () async => await context.push( + () => VerifyPage( + fingerprint: CombinedFingerprint.load(context, vm.sender.fingerprint), + ), + ), style: TextButton.styleFrom( foregroundColor: Theme.of(context).colorScheme.onSurface, ), diff --git a/app/lib/pages/send_page.dart b/app/lib/pages/send_page.dart index 4076228d..5d055b58 100644 --- a/app/lib/pages/send_page.dart +++ b/app/lib/pages/send_page.dart @@ -145,11 +145,13 @@ class _SendPageState extends State with Refena { child: Padding( padding: const EdgeInsets.only(top: 8), child: TextButton.icon( - onPressed: !targetDevice.https ? null : () async => await context.push( - () => VerifyPage( - fingerprint: CombinedFingerprint.load(context, targetDevice.fingerprint), - ), - ), + onPressed: !targetDevice.https + ? null + : () async => await context.push( + () => VerifyPage( + fingerprint: CombinedFingerprint.load(context, targetDevice.fingerprint), + ), + ), style: TextButton.styleFrom( foregroundColor: Theme.of(context).colorScheme.onSurface, ),