Marino Faggiana 7 年之前
父节点
当前提交
b6d81f02b6
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      iOSClient/Login/CCLogin.m

+ 5 - 1
iOSClient/Login/CCLogin.m

@@ -103,7 +103,11 @@
         _baseUrl.userInteractionEnabled = NO;
         _baseUrl.textColor = [UIColor lightGrayColor];
         
-        _user.text = app.activeUser;
+        // https://github.com/nextcloud/ios/issues/331
+        tableAccount *tbAccount = [[NCManageDatabase sharedInstance] getAccountActive];
+        _user.text = tbAccount.username;
+        //_user.text = app.activeUser;
+        
         _user.userInteractionEnabled = NO;
         _user.textColor = [UIColor lightGrayColor];
     }