From 16ebfcb51f50c20fcfc4b336bf9f1f4ce0966897 Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Sun, 15 Oct 2023 13:04:31 +0200 Subject: [PATCH] Correctly update extensions language selection Was only updated after clicking "OK" once. This was caused due only updating the language selection once the app language was changed or in case the selected languages (after clicking "OK") changed --- src/screens/Extensions.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screens/Extensions.tsx b/src/screens/Extensions.tsx index 1cd323d4..805a60f2 100644 --- a/src/screens/Extensions.tsx +++ b/src/screens/Extensions.tsx @@ -165,7 +165,7 @@ export default function MangaExtensions() { , ); - }, [t, shownLangs]); + }, [t, shownLangs, allLangs]); useEffect(() => { const dropHandler = async (e: Event) => {