Skip to content
Snippets Groups Projects
Commit 8e73d90a authored by Bruno Muniz's avatar Bruno Muniz :apple:
Browse files

Merge branch 'fix/username-guard-restore' into 'development'

Adds guard to nil username on restoring

See merge request elixxir/client-ios!65
parents 97eef41c dbd35244
No related branches found
No related tags found
3 merge requests!71Releasing v1.1.5 (214),!67v1.1.5 b(203),!65Adds guard to nil username on restoring
......@@ -140,7 +140,7 @@ public final class Session: SessionType {
}
}
guard username!.isEmpty == false else {
guard let username = username, username.isEmpty == false else {
fatalError("Trying to restore an account that has no username")
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment