Skip to content

Commit

Permalink
Remove unuseful texts
Browse files Browse the repository at this point in the history
  • Loading branch information
elibon99 committed Jan 21, 2025
1 parent 8bccd19 commit 8317a7f
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions lib/piv/views/manage_pin_puk_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,6 @@ class _ManagePinPukDialogState extends ConsumerState<ManagePinPukDialog> {
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(l10n.p_enter_current_pin_or_puk(
widget.target == ManageTarget.pin ? l10n.s_pin : l10n.s_puk)),
AppTextField(
autofocus: !(showDefaultPinUsed || showDefaultPukUsed),
obscureText: _isObscureCurrent,
Expand Down Expand Up @@ -248,14 +246,8 @@ class _ManagePinPukDialogState extends ConsumerState<ManagePinPukDialog> {
});
},
).init(),
Text(hasPinComplexity
? l10n.p_enter_new_piv_pin_puk_complexity_active(
widget.target == ManageTarget.puk ? l10n.s_puk : l10n.s_pin,
newMinPinLen,
'123456')
: l10n.p_enter_new_piv_pin_puk(widget.target == ManageTarget.puk
? l10n.s_puk
: l10n.s_pin)),
// Used to add more spacing
const SizedBox(height: 0),
AppTextField(
key: keys.newPinPukField,
autofocus: showDefaultPinUsed || showDefaultPukUsed,
Expand Down

0 comments on commit 8317a7f

Please sign in to comment.