mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2025-01-08 20:08:45 +03:00
Cleaning up some comments and imports.
This commit is contained in:
parent
4543082bd9
commit
51521f032f
@ -22,8 +22,6 @@ const _prefix = 'otp.keys';
|
||||
const _keyAction = '$_prefix.actions';
|
||||
const _slotAction = '$_prefix.slot.actions';
|
||||
|
||||
/// const getOtpSlotKey = '$_prefix.pick_otp_slot';
|
||||
|
||||
// Key actions
|
||||
const swapSlots = Key('$_keyAction.swap_slots');
|
||||
|
||||
|
@ -31,7 +31,6 @@ import '../../widgets/app_input_decoration.dart';
|
||||
import '../../widgets/app_text_field.dart';
|
||||
import '../../widgets/responsive_dialog.dart';
|
||||
import '../keys.dart' as keys;
|
||||
import '../keys.dart';
|
||||
import '../models.dart';
|
||||
import '../state.dart';
|
||||
import 'overwrite_confirm_dialog.dart';
|
||||
@ -142,7 +141,7 @@ class _ConfigureChalrespDialogState
|
||||
: null,
|
||||
prefixIcon: const Icon(Icons.key_outlined),
|
||||
suffixIcon: IconButton(
|
||||
key: generateSecretKey,
|
||||
key: keys.generateSecretKey,
|
||||
icon: const Icon(Icons.refresh),
|
||||
onPressed: () {
|
||||
setState(() {
|
||||
|
@ -29,7 +29,6 @@ import '../../widgets/app_text_field.dart';
|
||||
import '../../widgets/choice_filter_chip.dart';
|
||||
import '../../widgets/responsive_dialog.dart';
|
||||
import '../keys.dart' as keys;
|
||||
import '../keys.dart';
|
||||
import '../models.dart';
|
||||
import '../state.dart';
|
||||
import 'overwrite_confirm_dialog.dart';
|
||||
@ -161,7 +160,7 @@ class _ConfigureStaticDialogState extends ConsumerState<ConfigureStaticDialog> {
|
||||
: null,
|
||||
prefixIcon: const Icon(Icons.key_outlined),
|
||||
suffixIcon: IconButton(
|
||||
key: generateSecretKey,
|
||||
key: keys.generateSecretKey,
|
||||
tooltip: l10n.s_generate_random,
|
||||
icon: const Icon(Icons.refresh),
|
||||
onPressed: () async {
|
||||
|
@ -34,7 +34,6 @@ import '../../widgets/app_text_field.dart';
|
||||
import '../../widgets/choice_filter_chip.dart';
|
||||
import '../../widgets/responsive_dialog.dart';
|
||||
import '../keys.dart' as keys;
|
||||
import '../keys.dart';
|
||||
import '../models.dart';
|
||||
import '../state.dart';
|
||||
import 'overwrite_confirm_dialog.dart';
|
||||
@ -216,7 +215,7 @@ class _ConfigureYubiOtpDialogState
|
||||
: null,
|
||||
prefixIcon: const Icon(Icons.public_outlined),
|
||||
suffixIcon: IconButton(
|
||||
key: useSerial,
|
||||
key: keys.useSerial,
|
||||
tooltip: l10n.s_use_serial,
|
||||
icon: const Icon(Icons.auto_awesome_outlined),
|
||||
onPressed: (info?.serial != null)
|
||||
@ -252,7 +251,7 @@ class _ConfigureYubiOtpDialogState
|
||||
: null,
|
||||
prefixIcon: const Icon(Icons.key_outlined),
|
||||
suffixIcon: IconButton(
|
||||
key: generatePrivateId,
|
||||
key: keys.generatePrivateId,
|
||||
tooltip: l10n.s_generate_random,
|
||||
icon: const Icon(Icons.refresh),
|
||||
onPressed: () {
|
||||
@ -289,7 +288,7 @@ class _ConfigureYubiOtpDialogState
|
||||
: null,
|
||||
prefixIcon: const Icon(Icons.key_outlined),
|
||||
suffixIcon: IconButton(
|
||||
key: generateSecretKey,
|
||||
key: keys.generateSecretKey,
|
||||
tooltip: l10n.s_generate_random,
|
||||
icon: const Icon(Icons.refresh),
|
||||
onPressed: () {
|
||||
|
Loading…
Reference in New Issue
Block a user