mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-23 00:57:26 +03:00
Use AppTextField
instead of TextField
.
This commit is contained in:
parent
8fd753431d
commit
261a0c1f14
@ -27,6 +27,7 @@ import '../../app/models.dart';
|
||||
import '../../app/state.dart';
|
||||
import '../../core/models.dart';
|
||||
import '../../core/state.dart';
|
||||
import '../../widgets/app_text_field.dart';
|
||||
import '../../widgets/responsive_dialog.dart';
|
||||
import '../keys.dart' as keys;
|
||||
import '../models.dart';
|
||||
@ -122,7 +123,7 @@ class _ConfigureChalrespDialogState
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
TextField(
|
||||
AppTextField(
|
||||
key: keys.secretField,
|
||||
autofocus: true,
|
||||
controller: _secretController,
|
||||
|
@ -26,6 +26,7 @@ import '../../app/state.dart';
|
||||
import '../../core/models.dart';
|
||||
import '../../core/state.dart';
|
||||
import '../../oath/models.dart';
|
||||
import '../../widgets/app_text_field.dart';
|
||||
import '../../widgets/choice_filter_chip.dart';
|
||||
import '../../widgets/responsive_dialog.dart';
|
||||
import '../keys.dart' as keys;
|
||||
@ -120,7 +121,7 @@ class _ConfigureHotpDialogState extends ConsumerState<ConfigureHotpDialog> {
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
TextField(
|
||||
AppTextField(
|
||||
key: keys.secretField,
|
||||
controller: _secretController,
|
||||
obscureText: _isObscure,
|
||||
|
@ -24,6 +24,7 @@ import '../../app/message.dart';
|
||||
import '../../app/models.dart';
|
||||
import '../../app/state.dart';
|
||||
import '../../core/state.dart';
|
||||
import '../../widgets/app_text_field.dart';
|
||||
import '../../widgets/choice_filter_chip.dart';
|
||||
import '../../widgets/responsive_dialog.dart';
|
||||
import '../keys.dart' as keys;
|
||||
@ -142,7 +143,7 @@ class _ConfigureStaticDialogState extends ConsumerState<ConfigureStaticDialog> {
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
TextField(
|
||||
AppTextField(
|
||||
key: keys.secretField,
|
||||
autofocus: true,
|
||||
controller: _passwordController,
|
||||
|
@ -29,6 +29,7 @@ import '../../app/models.dart';
|
||||
import '../../app/state.dart';
|
||||
import '../../core/models.dart';
|
||||
import '../../core/state.dart';
|
||||
import '../../widgets/app_text_field.dart';
|
||||
import '../../widgets/choice_filter_chip.dart';
|
||||
import '../../widgets/responsive_dialog.dart';
|
||||
import '../keys.dart' as keys;
|
||||
@ -198,7 +199,7 @@ class _ConfigureYubiOtpDialogState
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
TextField(
|
||||
AppTextField(
|
||||
key: keys.publicIdField,
|
||||
autofocus: true,
|
||||
controller: _publicIdController,
|
||||
@ -246,7 +247,7 @@ class _ConfigureYubiOtpDialogState
|
||||
});
|
||||
},
|
||||
),
|
||||
TextField(
|
||||
AppTextField(
|
||||
key: keys.privateIdField,
|
||||
controller: _privateIdController,
|
||||
autofillHints: isAndroid ? [] : const [AutofillHints.password],
|
||||
@ -294,7 +295,7 @@ class _ConfigureYubiOtpDialogState
|
||||
});
|
||||
},
|
||||
),
|
||||
TextField(
|
||||
AppTextField(
|
||||
key: keys.secretField,
|
||||
controller: _secretController,
|
||||
autofillHints: isAndroid ? [] : const [AutofillHints.password],
|
||||
|
Loading…
Reference in New Issue
Block a user