mirror of
https://github.com/localsend/localsend.git
synced 2026-08-07 07:14:52 +00:00
style: format
This commit is contained in:
@@ -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,
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -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,
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user