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];
     }