Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion github_client_app/lib/routes/login.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class _LoginRouteState extends State<LoginRoute> {
void initState() {
// 自动填充上次登录的用户名,填充后将焦点定位到密码输入框
_unameController.text = Global.profile.lastLogin;
if (_unameController.text != null) {
if (_unameController.text.isNotEmpty) {
_nameAutoFocus = false;
}
super.initState();
Expand Down