From 856e503c88649246905cc579cb186367516d54c8 Mon Sep 17 00:00:00 2001 From: Lachezar Lechev <8925621+elpiel@users.noreply.github.com> Date: Wed, 31 Jan 2024 10:58:02 +0200 Subject: [PATCH] chore: update_profile applied PR review comment Co-authored-by: Tim --- src/models/ctx/update_profile.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/ctx/update_profile.rs b/src/models/ctx/update_profile.rs index f126cdda6..e2e89658c 100644 --- a/src/models/ctx/update_profile.rs +++ b/src/models/ctx/update_profile.rs @@ -160,7 +160,7 @@ pub fn update_profile( } Msg::Internal(Internal::UninstallAddon(addon)) => { if profile.addons_locked { - return addon_install_error_effects(addon, OtherError::UserAddonsAreLocked); + return addon_uninstall_error_effects(addon, OtherError::UserAddonsAreLocked); } let addon_position = profile