Skip to content

Commit

Permalink
Comment out onChanged of localization
Browse files Browse the repository at this point in the history
  • Loading branch information
petr-jilek-deploy committed Jan 12, 2024
1 parent 0c42dfc commit 6f367ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storybook/lib/localization_addon_custom.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class LocalizationAddonCustom extends WidgetbookAddon<Locale> {
values: locales,
initialValue: initialLocale,
labelBuilder: (locale) => locale.toLanguageTag(),
onChanged: (context, locale) => locale != null ? onChange(locale) : null,
// onChanged: (context, locale) => locale != null ? onChange(locale) : null,
),
];
}
Expand Down

0 comments on commit 6f367ca

Please sign in to comment.