فهرست منبع

bugfix - footer in accountSetup remained visible under certain circumstances

Bastian van de Wetering 6 سال پیش
والد
کامیت
e15589b881
2فایلهای تغییر یافته به همراه1 افزوده شده و 4 حذف شده
  1. 1 0
      deltachat-ios/Controller/AccountSetupController.swift
  2. 0 4
      deltachat-ios/Coordinator/AppCoordinator.swift

+ 1 - 0
deltachat-ios/Controller/AccountSetupController.swift

@@ -332,6 +332,7 @@ class AccountSetupController: UITableViewController {
 		} else {
 			tableView.deleteRows(at: advancedIndexPaths, with: .fade)
 		}
+		tableView.reloadData() // to re-organize footer view (without that sometimes advanced section footer is still visible)
 	}
 
 	@objc private func loginButtonPressed() {

+ 0 - 4
deltachat-ios/Coordinator/AppCoordinator.swift

@@ -422,10 +422,6 @@ class ChatViewCoordinator: Coordinator {
 						let pixelSize = compressedImage.imageSizeInPixel()
 						let width = Int32(exactly: pixelSize.width)!
 						let height =  Int32(exactly: pixelSize.height)!
-//						let width = Int32(exactly: compressedImage.size.width)!
-//						let height = Int32(exactly: compressedImage.size.height)!
-						print("CompressImage width: \(width)")
-						print("CompressImage height: \(height)")
 						let path = Utils.saveImage(image: compressedImage)
 						let msg = dc_msg_new(mailboxPointer, DC_MSG_IMAGE)
 						dc_msg_set_file(msg, path, "image/jpeg")