mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 02:57:22 +00:00
feat_account: mid commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -77,7 +77,9 @@ class UserModel {
|
||||
return "";
|
||||
}
|
||||
final m = jsonDecode(userInfo);
|
||||
if (m != null) {
|
||||
if (m == null) {
|
||||
userName.value = '';
|
||||
} else {
|
||||
userName.value = m['name'] ?? '';
|
||||
}
|
||||
return userName.value;
|
||||
|
||||
Reference in New Issue
Block a user