@ -274,10 +274,16 @@ final class SettingsVC : UIViewController, AvatarViewHelperDelegate {
self.displayNameToBeUploaded=nil
self.displayNameToBeUploaded=nil
}
}
}
}
},failure:{
},failure:{errorin
DispatchQueue.main.async{
DispatchQueue.main.async{
modalActivityIndicator.dismiss{
modalActivityIndicator.dismiss{
letalert=UIAlertController(title:NSLocalizedString("Couldn't Update Profile",comment:""),message:NSLocalizedString("Please check your internet connection and try again",comment:""),preferredStyle:.alert)
letmessage=isMaxFileSizeExceeded?"Please select a smaller photo and try again":NSLocalizedString("Please check your internet connection and try again",comment:"")