Commit 327d3456 authored by Jose Blaya's avatar Jose Blaya

- Check publicUsername is not nil

parent 16ef6db3
......@@ -157,7 +157,8 @@ class DefaultAccountProvider: AccountProvider, ConfigurationAccess, DatabaseAcce
func refreshAccountInfo(_ callback: ((AccountInfo?, Error?) -> Void)?) {
guard let token = self.token else {
guard let token = self.token,
let _ = self.publicUsername else {
guard let user = currentUser else {
preconditionFailure()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment