Code Quality: Make sonar happier

by removing some code smells
This commit is contained in:
manuroe
2020-08-25 18:48:09 +02:00
parent 1325607bf3
commit efbca319f0
29 changed files with 20 additions and 271 deletions
@@ -30,8 +30,7 @@ final class CameraAccessAlertPresenter {
let alert = UIAlertController(title: VectorL10n.camera, message: VectorL10n.cameraAccessNotGranted(appDisplayName), preferredStyle: .alert)
let cancelActionTitle = Bundle.mxk_localizedString(forKey: "ok")
let cancelAction = UIAlertAction(title: cancelActionTitle, style: .cancel, handler: { _ in
})
let cancelAction = UIAlertAction(title: cancelActionTitle, style: .cancel, handler: nil)
let settingsActionTitle = Bundle.mxk_localizedString(forKey: "settings")
let settingsAction = UIAlertAction(title: settingsActionTitle, style: .default, handler: { _ in