Skip to content

Commit

Permalink
- Fix finding (7) in #502
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-schwarz committed Oct 7, 2019
1 parent 1a50678 commit bf5b126
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ownCloud/Client/ClientQueryViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,10 @@ class ClientQueryViewController: QueryFileListTableViewController, UIDropInterac
selectedItemIds.removeAll()
removeToolbar()
sortBar?.showSelectButton = true

if #available(iOS 13, *) {
self.tableView.overrideUserInterfaceStyle = .unspecified
}
}

func populateToolbar() {
Expand Down Expand Up @@ -464,6 +468,10 @@ class ClientQueryViewController: QueryFileListTableViewController, UIDropInterac
@objc func multipleSelectionButtonPressed() {

if !self.tableView.isEditing {
if #available(iOS 13, *) {
self.tableView.overrideUserInterfaceStyle = Theme.shared.activeCollection.interfaceStyle.userInterfaceStyle
}

updateMultiSelectionUI()
self.tableView.setEditing(true, animated: true)
sortBar?.showSelectButton = false
Expand Down

0 comments on commit bf5b126

Please sign in to comment.