Don't export / import pin codes when making / restoring backups (#2089)

* initial commit

* remove print
This commit is contained in:
Matthew Fosse
2025-03-19 04:52:22 +02:00
committed by GitHub
parent cec414e44b
commit 2c68c57d10
2 changed files with 4 additions and 10 deletions
@@ -119,11 +119,11 @@ class PinCodeState<T extends PinCodeWidget> extends State<T> {
color: Theme.of(context).extension<CakeTextTheme>()!.titleColor,
);
return RawKeyboardListener(
return KeyboardListener(
focusNode: FocusNode(),
autofocus: true,
onKey: (keyEvent) {
if (keyEvent is RawKeyDownEvent) {
onKeyEvent: (keyEvent) {
if (keyEvent is KeyDownEvent) {
if (keyEvent.logicalKey.keyLabel == "Backspace") {
_pop();
return;