From 3ea1b879c39e5c6d6ea7b2e81b018cbdadd98e56 Mon Sep 17 00:00:00 2001 From: Tien Do Nam Date: Wed, 5 Aug 2026 18:45:53 +0200 Subject: [PATCH] style: format --- app/lib/pages/receive_page.dart | 12 +++++++----- app/lib/pages/send_page.dart | 12 +++++++----- 2 files changed, 14 insertions(+), 10 deletions(-) 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, ),