style: format
CI / format (push) Has been cancelled
CI / test (push) Has been cancelled
CI / packaging (push) Has been cancelled

This commit is contained in:
Tien Do Nam
2026-08-05 18:45:53 +02:00
parent 852e135fe2
commit 3ea1b879c3
2 changed files with 14 additions and 10 deletions
+7 -5
View File
@@ -163,11 +163,13 @@ class _ReceivePageState extends State<ReceivePage> with Refena {
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
children: [ children: [
TextButton.icon( TextButton.icon(
onPressed: !vm.sender.https ? null : () async => await context.push( onPressed: !vm.sender.https
() => VerifyPage( ? null
fingerprint: CombinedFingerprint.load(context, vm.sender.fingerprint), : () async => await context.push(
), () => VerifyPage(
), fingerprint: CombinedFingerprint.load(context, vm.sender.fingerprint),
),
),
style: TextButton.styleFrom( style: TextButton.styleFrom(
foregroundColor: Theme.of(context).colorScheme.onSurface, foregroundColor: Theme.of(context).colorScheme.onSurface,
), ),
+7 -5
View File
@@ -145,11 +145,13 @@ class _SendPageState extends State<SendPage> with Refena {
child: Padding( child: Padding(
padding: const EdgeInsets.only(top: 8), padding: const EdgeInsets.only(top: 8),
child: TextButton.icon( child: TextButton.icon(
onPressed: !targetDevice.https ? null : () async => await context.push( onPressed: !targetDevice.https
() => VerifyPage( ? null
fingerprint: CombinedFingerprint.load(context, targetDevice.fingerprint), : () async => await context.push(
), () => VerifyPage(
), fingerprint: CombinedFingerprint.load(context, targetDevice.fingerprint),
),
),
style: TextButton.styleFrom( style: TextButton.styleFrom(
foregroundColor: Theme.of(context).colorScheme.onSurface, foregroundColor: Theme.of(context).colorScheme.onSurface,
), ),