Migrate to Swift 5.0
This commit is contained in:
parent
e06413b348
commit
f9c19b3ca4
26 changed files with 143 additions and 152 deletions
|
|
@ -15,7 +15,7 @@ class AboutRepositoryTableViewController: BasicStaticTableViewController {
|
|||
|
||||
private var needRefresh = false
|
||||
private var indicator: UIActivityIndicatorView = {
|
||||
let indicator = UIActivityIndicatorView(activityIndicatorStyle: .gray)
|
||||
let indicator = UIActivityIndicatorView(style: .gray)
|
||||
return indicator
|
||||
}()
|
||||
private let passwordStore = PasswordStore.shared
|
||||
|
|
@ -59,7 +59,7 @@ class AboutRepositoryTableViewController: BasicStaticTableViewController {
|
|||
guard let strongSelf = self else {
|
||||
return
|
||||
}
|
||||
let type = UITableViewCellAccessoryType.none
|
||||
let type = UITableViewCell.AccessoryType.none
|
||||
strongSelf.tableData = [
|
||||
// section 0
|
||||
[[.style: CellDataStyle.value1, .accessoryType: type, .title: "Passwords".localize(), .detailText: passwords],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue