shouldReload method

  1. @override
bool shouldReload(
  1. covariant L10n old
)
override

Reload if the local has changed.

Implementation

@override
bool shouldReload(L10n old) =>
    !_localeSet && L10n._appLocale != L10n._prevLocale;