FIx warning
This commit is contained in:
parent
ecc4535058
commit
03e9ed7e80
|
@ -589,8 +589,6 @@ extension ProfileViewController {
|
||||||
viewModel.relationship = updatedRelationship
|
viewModel.relationship = updatedRelationship
|
||||||
}
|
}
|
||||||
|
|
||||||
let me = viewModel.me
|
|
||||||
|
|
||||||
if let updatedMe = try? await context.apiService.authenticatedUserInfo(authenticationBox: authContext.mastodonAuthenticationBox).value {
|
if let updatedMe = try? await context.apiService.authenticatedUserInfo(authenticationBox: authContext.mastodonAuthenticationBox).value {
|
||||||
viewModel.me = updatedMe
|
viewModel.me = updatedMe
|
||||||
FileManager.default.store(account: updatedMe, forUserID: authContext.mastodonAuthenticationBox.authentication.userIdentifier())
|
FileManager.default.store(account: updatedMe, forUserID: authContext.mastodonAuthenticationBox.authentication.userIdentifier())
|
||||||
|
|
Loading…
Reference in New Issue