common dialog InputDecoration

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-01-16 20:24:21 +08:00
parent 9aecd28702
commit cc0f4509a7
2 changed files with 8 additions and 6 deletions

View File

@@ -597,8 +597,6 @@ void setPasswordDialog() async {
child: TextField(
obscureText: true,
decoration: InputDecoration(
isDense: true,
contentPadding: EdgeInsets.all(15),
labelText: translate('Password'),
border: const OutlineInputBorder(),
errorText: errMsg0.isNotEmpty ? errMsg0 : null),
@@ -625,8 +623,6 @@ void setPasswordDialog() async {
child: TextField(
obscureText: true,
decoration: InputDecoration(
isDense: true,
contentPadding: EdgeInsets.all(15),
border: const OutlineInputBorder(),
labelText: translate('Confirmation'),
errorText: errMsg1.isNotEmpty ? errMsg1 : null),