better ui/ux on 2fa page

This commit is contained in:
Arseni
2026-01-28 15:25:13 +03:00
parent d78fe5daa0
commit 0a27e0116a

View File

@@ -18,12 +18,13 @@ class TwoFactorCodeInput extends StatelessWidget {
autoFocus: true,
keyboardType: TextInputType.number,
animationType: AnimationType.fade,
cursorColor: Theme.of(context).colorScheme.primary,
pinTheme: PinTheme(
shape: PinCodeFieldShape.box,
borderRadius: BorderRadius.circular(4),
fieldHeight: 48,
fieldWidth: 40,
inactiveColor: Theme.of(context).dividerColor,
inactiveColor: Theme.of(context).colorScheme.primaryContainer,
activeColor: Theme.of(context).colorScheme.primary,
selectedColor: Theme.of(context).colorScheme.primary,
),