chore(ui, localization): revert "bump jiffy to v6.2.1"

Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
Sahil Kumar
2023-07-11 19:21:57 +05:30
committed by xsahil03x
parent 58891a4da0
commit 0e3eef7e1b
24 changed files with 66 additions and 103 deletions
@@ -165,9 +165,9 @@ class StreamChatState extends State<StreamChat> {
@override
void didChangeDependencies() {
final currentLocale = Localizations.localeOf(context).toString();
final availableLocales = Jiffy.getSupportedLocales();
final availableLocales = Jiffy.getAllAvailableLocales();
if (availableLocales.contains(currentLocale)) {
Jiffy.setLocale(currentLocale);
Jiffy.locale(currentLocale);
}
super.didChangeDependencies();
}