Skip to content

Commit

Permalink
- disable table cell selection
Browse files Browse the repository at this point in the history
- fixed long status messages, while setting dynamically numbers of lines
  • Loading branch information
hosy committed Apr 8, 2019
1 parent 3998925 commit 57b655e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ownCloud/Client/ClientActivityCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class ClientActivityCell: ThemeTableViewCell {
}

func prepareViewAndConstraints() {
descriptionLabel.numberOfLines = 0
descriptionLabel.translatesAutoresizingMaskIntoConstraints = false
statusLabel.translatesAutoresizingMaskIntoConstraints = false
statusCircle.translatesAutoresizingMaskIntoConstraints = false
Expand Down
2 changes: 1 addition & 1 deletion ownCloud/Client/ClientActivityViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class ClientActivityViewController: UITableViewController, Themeable {
self.tableView.register(ClientActivityCell.self, forCellReuseIdentifier: "activity-cell")
self.tableView.rowHeight = UITableView.automaticDimension
self.tableView.estimatedRowHeight = 80
self.tableView.allowsSelectionDuringEditing = true
self.tableView.allowsSelection = false

Theme.shared.register(client: self, applyImmediately: true)
}
Expand Down

0 comments on commit 57b655e

Please sign in to comment.