Enable drag & drop on account list screen

This commit is contained in:
Shadowfacts 2021-02-07 11:34:04 -05:00
parent 13cdb5d8c7
commit 6a927e4092
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,8 @@ class AccountListTableViewController: EnhancedTableViewController {
override func viewDidLoad() {
super.viewDidLoad()
dragEnabled = true
tableView.register(UINib(nibName: "AccountTableViewCell", bundle: .main), forCellReuseIdentifier: accountCell)
tableView.rowHeight = UITableView.automaticDimension