better ui/ux on 2fa page #334

Merged
tech merged 1 commits from SEND038 into main 2026-01-28 13:43:43 +00:00

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,
),