浏览代码

remove superfluous files grouping

we have no grouping currently.
the `.grouped` style only led
to some large gray border atop of the list,
looking a little lost that way.
B. Petersen 2 年之前
父节点
当前提交
26983abe26
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      deltachat-ios/Controller/FilesViewController.swift

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

@@ -11,7 +11,7 @@ class FilesViewController: UIViewController {
     private let chatId: Int
     private let chatId: Int
 
 
     private lazy var tableView: UITableView = {
     private lazy var tableView: UITableView = {
-        let table = UITableView(frame: .zero, style: .grouped)
+        let table = UITableView(frame: .zero, style: .plain)
         table.register(DocumentGalleryFileCell.self, forCellReuseIdentifier: DocumentGalleryFileCell.reuseIdentifier)
         table.register(DocumentGalleryFileCell.self, forCellReuseIdentifier: DocumentGalleryFileCell.reuseIdentifier)
         table.dataSource = self
         table.dataSource = self
         table.delegate = self
         table.delegate = self