easy_localization icon indicating copy to clipboard operation
easy_localization copied to clipboard

app start reloading when changing the language

Open seifkh97 opened this issue 4 years ago • 1 comments

hi, I'm new to Flutter and I'm really enjoying it, I started using easy_localization (3.0.0) and everything was good, when I try to change the app language from the setting page, the app translates the content and stays on the same page but yesterday the app started reloading and back to homescreen which will ruin the app user experience this is how I change the app locale with dropdown menu: onChanged: (newValue) async { if (newValue == 'English') { await context.setLocale(Locale('en')); } else if (newValue == 'Français') { await context.setLocale(Locale('fr')); } else if (newValue == 'العربية') { await context.setLocale(Locale('ar')); } }, Flutter: 2.0.3 Thank you

seifkh97 avatar May 16 '21 18:05 seifkh97

@seifkh97 Need example of code to reproduce this bug

Overman775 avatar Jul 15 '21 15:07 Overman775

@seifkh97 Closing for now because we can't reproduce without code. if the issue persists, please comment the code here

bw-flagship avatar May 14 '23 10:05 bw-flagship