@@ -611,7 +611,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
vcAccountRequest.accounts = accounts
- let popup = NCPopupViewController(contentController: vcAccountRequest, popupWidth: 300, popupHeight: 300)
+ let popup = NCPopupViewController(contentController: vcAccountRequest, popupWidth: 300, popupHeight: 245)
popup.backgroundAlpha = 0.8
UIApplication.shared.keyWindow?.rootViewController?.present(popup, animated: true)
@@ -78,7 +78,7 @@ class NCService: NSObject {
let fileNamePath = CCUtility.getDirectoryUserData() + "/" + stringUser + "-" + self.appDelegate.user + ".png"
NCCommunication.shared.downloadContent(serverUrl: avatarUrl) { (account, data, errorCode, errorMessage) in
- if errorCode == 0 {
+ if errorCode == 0 && account == self.appDelegate.account {
DispatchQueue.global().async {