fix formatting

This commit is contained in:
Adam Velebil 2024-01-05 08:41:54 +01:00
parent 22e94e633e
commit 5f4b136718
No known key found for this signature in database
GPG Key ID: C9B1E4A3CBBD2E10
2 changed files with 3 additions and 1 deletions

View File

@ -36,6 +36,7 @@ final _log = Logger('fido.views.pin_dialog');
class FidoPinDialog extends ConsumerStatefulWidget { class FidoPinDialog extends ConsumerStatefulWidget {
final DevicePath devicePath; final DevicePath devicePath;
final FidoState state; final FidoState state;
const FidoPinDialog(this.devicePath, this.state, {super.key}); const FidoPinDialog(this.devicePath, this.state, {super.key});
@override @override
@ -216,7 +217,7 @@ class _FidoPinDialogState extends ConsumerState<FidoPinDialog> {
} }
}); });
}); });
} on CancellationException catch (_) { } on CancellationException catch (_) {
// ignored // ignored
} catch (e) { } catch (e) {
_log.error('Failed to set PIN', e); _log.error('Failed to set PIN', e);

View File

@ -28,6 +28,7 @@ import '../state.dart';
class PinDialog extends ConsumerStatefulWidget { class PinDialog extends ConsumerStatefulWidget {
final DevicePath devicePath; final DevicePath devicePath;
const PinDialog(this.devicePath, {super.key}); const PinDialog(this.devicePath, {super.key});
@override @override