Commit be339114 authored by Anthony Léonard's avatar Anthony Léonard Committed by Kateryna Kostiuk

fix malformed method call

Also removes a silly if-else construction.

Change-Id: I35e522ee0231f6b1fcf449ee47b31bbb41858e7c
Reviewed-by: Kateryna Kostiuk's avatarKateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com>
parent 994971f1
......@@ -57,8 +57,8 @@ NSString* const savedUserAccountKey = @"savedUserSelectedAccountKey";
{
if (acc.profileInfo.type == lrc::api::profile::Type::INVALID)
return;
else
saveAccountWithId:@(acc.id.c_str());
[self saveAccountWithId:@(acc.id.c_str())];
}
@end
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