Merge pull request #3235 from grummbeer/unitfy-labels-login

Unify input labels. Remove colon from login labels
This commit is contained in:
RustDesk 2023-02-16 20:33:32 +08:00 committed by GitHub
commit d0cac8a013
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -324,13 +324,13 @@ class LoginWidgetUserPass extends StatelessWidget {
children: [ children: [
const SizedBox(height: 8.0), const SizedBox(height: 8.0),
DialogTextField( DialogTextField(
title: '${translate("Username")}:', title: translate("Username"),
controller: username, controller: username,
focusNode: userFocusNode, focusNode: userFocusNode,
prefixIcon: Icon(Icons.account_circle_outlined), prefixIcon: Icon(Icons.account_circle_outlined),
errorText: usernameMsg), errorText: usernameMsg),
DialogTextField( DialogTextField(
title: '${translate("Password")}:', title: translate("Password"),
obscureText: true, obscureText: true,
controller: pass, controller: pass,
prefixIcon: Icon(Icons.lock_outline), prefixIcon: Icon(Icons.lock_outline),