Fix some UI issues introduced by refactoring

This commit is contained in:
Mingshen Sun 2019-12-01 00:25:24 -08:00
parent efdc45ea89
commit cea1332b0d
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
6 changed files with 9 additions and 5 deletions

View file

@ -29,6 +29,7 @@ class SSHKeySettingTableViewController: AutoCellHeightUITableViewController {
try Data(contentsOf: privateKeyURL).write(to: URL(fileURLWithPath: SshKey.PRIVATE.getFileSharingPath()), options: .atomic)
try self.passwordStore.gitSSHKeyImportFromFileSharing()
SharedDefaults[.gitSSHKeySource] = .file
SharedDefaults[.gitAuthenticationMethod] = .key
SVProgressHUD.showSuccess(withStatus: "Imported".localize())
SVProgressHUD.dismiss(withDelay: 1)
} catch {