Relax checks on profile renaming
This commit is contained in:
parent
c7b2ff56b5
commit
4e597316be
|
@ -248,7 +248,9 @@ class ServiceViewController: UIViewController, StrongTableHost {
|
||||||
}
|
}
|
||||||
|
|
||||||
private func doRenameCurrentProfile(to newId: String) {
|
private func doRenameCurrentProfile(to newId: String) {
|
||||||
let renamedProfile = service.renameProfile(uncheckedHostProfile, to: newId)
|
guard let renamedProfile = service.renameProfile(uncheckedHostProfile, to: newId) else {
|
||||||
|
return
|
||||||
|
}
|
||||||
setProfile(renamedProfile, reloadingViews: false)
|
setProfile(renamedProfile, reloadingViews: false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 149e95d9727e504c96b3e6ec0d822c195782299a
|
Subproject commit b3db94cc44f989553c5a45ad1a1126ab6fb14254
|
Loading…
Reference in New Issue