浏览代码

remove warnings

cyberta 5 年之前
父节点
当前提交
2a7f61e2a4
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 {