log using handle
This commit is contained in:
parent
6d3d32704c
commit
fca89a52d5
|
@ -143,9 +143,14 @@ struct AddInstanceView: View {
|
|||
verifyError = false
|
||||
}
|
||||
|
||||
let cleanInstance = instanceUrl
|
||||
var cleanInstance = self.instanceUrl
|
||||
if instanceUrl.contains("@") {
|
||||
cleanInstance = String(instanceUrl.split(separator: "@")[1]) // instance
|
||||
} else {
|
||||
cleanInstance = instanceUrl
|
||||
.replacingOccurrences(of: "http://", with: "")
|
||||
.replacingOccurrences(of: "https://", with: "")
|
||||
}
|
||||
|
||||
if !isInstanceSafe() {
|
||||
if responsability == false && agreedResponsability == false {
|
||||
|
|
Loading…
Reference in New Issue