fix the error message for ons searching time out

pull/891/head
Ryan ZHAO 10 months ago
parent aebb68656b
commit a05aab193c

@ -99,6 +99,8 @@ struct NewMessageScreen: View {
case SnodeAPIError.onsDecryptionFailed, SnodeAPIError.onsHashingFailed, case SnodeAPIError.onsDecryptionFailed, SnodeAPIError.onsHashingFailed,
SnodeAPIError.onsValidationFailed: SnodeAPIError.onsValidationFailed:
return "onsErrorUnableToSearch".localized() return "onsErrorUnableToSearch".localized()
case is NetworkError:
return "onsErrorUnableToSearch".localized()
default: break default: break
} }

Loading…
Cancel
Save