chore: clean up redundant comments
This commit is contained in:
@@ -118,10 +118,6 @@ class _PinEntryDialogState extends State<PinEntryDialog> with SingleTickerProvid
|
||||
}
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// _TvPinInput — unified 4-digit PIN input
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
class _TvPinInput extends StatefulWidget {
|
||||
final ValueChanged<String> onSubmit;
|
||||
final VoidCallback onCancel;
|
||||
@@ -205,8 +201,6 @@ class _TvPinInputState extends State<_TvPinInput> with KeyRepeatHelper<_TvPinInp
|
||||
if (pin != null) widget.onSubmit(pin);
|
||||
}
|
||||
|
||||
// -- D-pad / keyboard handling (TV + desktop) --
|
||||
|
||||
void _incrementDigit() {
|
||||
setState(() {
|
||||
_digits[_activeIndex] = ((_digits[_activeIndex] ?? -1) + 1) % 10;
|
||||
@@ -324,8 +318,6 @@ class _TvPinInputState extends State<_TvPinInput> with KeyRepeatHelper<_TvPinInp
|
||||
return KeyEventResult.ignored;
|
||||
}
|
||||
|
||||
// -- Mobile input handling --
|
||||
|
||||
void _onMobileDigitChanged(int index, String value) {
|
||||
if (value.isEmpty) {
|
||||
// Backspace
|
||||
@@ -437,10 +429,6 @@ class _TvPinInputState extends State<_TvPinInput> with KeyRepeatHelper<_TvPinInp
|
||||
}
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// _DigitBox — single digit display box for TV/desktop
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
class _DigitBox extends StatelessWidget {
|
||||
final int? digit;
|
||||
final bool isActive;
|
||||
|
||||
Reference in New Issue
Block a user