Skip to content

Commit

Permalink
fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
sviatoslavbmx committed Feb 14, 2022
1 parent ff82731 commit a3cda31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class DoorsTableViewController: UITableViewController {
SVProgressHUD.dismiss()
switch result {
case .success:
if let tenant = try? BMXUser.shared.getTenants().first(where: {tenant.id == $0.id}), let tenant = tenant {
if let tenant = BMXUser.shared.getTenants().first(where: {tenant.id == $0.id}) {
self.devices = BMXUser.shared.getDevices(from: tenant)
self.tableView.reloadData()
}
Expand Down
2 changes: 1 addition & 1 deletion Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ target 'ButterflyMX Demo' do
use_frameworks!

# Pods for ButterflyMX Demo
pod 'BMXCall', '~> 2.1.1'
pod 'BMXCall', '~> 2.2.0'
pod 'SVProgressHUD'
end

Expand Down

0 comments on commit a3cda31

Please sign in to comment.