FIx warning

This commit is contained in:
Nathan Mattes 2024-02-16 09:19:59 +01:00
parent ecc4535058
commit 03e9ed7e80
1 changed files with 0 additions and 2 deletions

View File

@ -589,8 +589,6 @@ extension ProfileViewController {
viewModel.relationship = updatedRelationship
}
let me = viewModel.me
if let updatedMe = try? await context.apiService.authenticatedUserInfo(authenticationBox: authContext.mastodonAuthenticationBox).value {
viewModel.me = updatedMe
FileManager.default.store(account: updatedMe, forUserID: authContext.mastodonAuthenticationBox.authentication.userIdentifier())