From 03e9ed7e80b2a549a5e5333b6ffa5823ad29ee0c Mon Sep 17 00:00:00 2001 From: Nathan Mattes Date: Fri, 16 Feb 2024 09:19:59 +0100 Subject: [PATCH] FIx warning --- Mastodon/Scene/Profile/ProfileViewController.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/Mastodon/Scene/Profile/ProfileViewController.swift b/Mastodon/Scene/Profile/ProfileViewController.swift index ed0487847..d99c6cd5d 100644 --- a/Mastodon/Scene/Profile/ProfileViewController.swift +++ b/Mastodon/Scene/Profile/ProfileViewController.swift @@ -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())