mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-06 16:11:29 +03:00
Unify Input. Remove hardcoded style (password)
This commit is contained in:
@@ -634,7 +634,6 @@ void setPasswordDialog() async {
|
|||||||
obscureText: true,
|
obscureText: true,
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
labelText: translate('Password'),
|
labelText: translate('Password'),
|
||||||
border: const OutlineInputBorder(),
|
|
||||||
errorText: errMsg0.isNotEmpty ? errMsg0 : null),
|
errorText: errMsg0.isNotEmpty ? errMsg0 : null),
|
||||||
controller: p0,
|
controller: p0,
|
||||||
autofocus: true,
|
autofocus: true,
|
||||||
@@ -662,7 +661,6 @@ void setPasswordDialog() async {
|
|||||||
child: TextField(
|
child: TextField(
|
||||||
obscureText: true,
|
obscureText: true,
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
border: const OutlineInputBorder(),
|
|
||||||
labelText: translate('Confirmation'),
|
labelText: translate('Confirmation'),
|
||||||
errorText: errMsg1.isNotEmpty ? errMsg1 : null),
|
errorText: errMsg1.isNotEmpty ? errMsg1 : null),
|
||||||
controller: p1,
|
controller: p1,
|
||||||
|
|||||||
Reference in New Issue
Block a user