Explorar o código

remove warnings

cyberta %!s(int64=5) %!d(string=hai) anos
pai
achega
2a7f61e2a4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)")
         logger.info("onMediaSelected: \(url)")
 
 
         DispatchQueue.global(qos: .userInitiated).async {
         DispatchQueue.global(qos: .userInitiated).async {
-            [weak self] in
+            //[weak self] in
             AvatarHelper.setSelfAvatarFile(fileUrl: URL(fileURLWithPath: url.path ?? ""))
             AvatarHelper.setSelfAvatarFile(fileUrl: URL(fileURLWithPath: url.path ?? ""))
             /*if let image = self?.dcContext.getSelfAvatarImage() {
             /*if let image = self?.dcContext.getSelfAvatarImage() {
                 DispatchQueue.main.async {
                 DispatchQueue.main.async {