From 6f367ca0d01d9e506f610b41a6494ffd8879a9d8 Mon Sep 17 00:00:00 2001 From: Petr Jilek Date: Fri, 12 Jan 2024 14:34:18 +0100 Subject: [PATCH] Comment out onChanged of localization --- storybook/lib/localization_addon_custom.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storybook/lib/localization_addon_custom.dart b/storybook/lib/localization_addon_custom.dart index 1188049..bb92c79 100644 --- a/storybook/lib/localization_addon_custom.dart +++ b/storybook/lib/localization_addon_custom.dart @@ -19,7 +19,7 @@ class LocalizationAddonCustom extends WidgetbookAddon { values: locales, initialValue: initialLocale, labelBuilder: (locale) => locale.toLanguageTag(), - onChanged: (context, locale) => locale != null ? onChange(locale) : null, + // onChanged: (context, locale) => locale != null ? onChange(locale) : null, ), ]; }