Browse Source

remove warnings

cyberta 5 years ago
parent
commit
2a7f61e2a4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      deltachat-ios/Controller/EditSettingsController.swift

+ 1 - 1
deltachat-ios/Controller/EditSettingsController.swift

@@ -163,7 +163,7 @@ class EditSettingsController: UITableViewController, MediaPickerDelegate {
         logger.info("onMediaSelected: \(url)")
 
         DispatchQueue.global(qos: .userInitiated).async {
-            [weak self] in
+            //[weak self] in
             AvatarHelper.setSelfAvatarFile(fileUrl: URL(fileURLWithPath: url.path ?? ""))
             /*if let image = self?.dcContext.getSelfAvatarImage() {
                 DispatchQueue.main.async {