Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The getter 'currentLocalized' was called on null. #321

Closed
LiJian0129 opened this issue Mar 21, 2019 · 6 comments
Closed

The getter 'currentLocalized' was called on null. #321

LiJian0129 opened this issue Mar 21, 2019 · 6 comments

Comments

@LiJian0129
Copy link

使用BottomNavigationBarItem 时,切换的page用getLocale是就出现这个错误,求大神告知

@CarGuo
Copy link
Owner

CarGuo commented Mar 21, 2019

当前项目有这个问题?

@LiJian0129
Copy link
Author

你的项目没有改问题

@CarGuo
Copy link
Owner

CarGuo commented Mar 21, 2019

我觉得是context在往上找的时候找不到Locale

@LiJian0129
Copy link
Author

的确是这样。。具体是啥问题,是redux配置不对吗?

@LiJian0129
Copy link
Author

我在前面注册主页都没问题,,就是在主页内的切换的tab页出现问题。。我通过Localizations.of(context)获取的确实en的。头大

@liupeng826
Copy link

找到原因了?我也出现这个问题了

@CarGuo CarGuo mentioned this issue Nov 21, 2019
@w497763094 w497763094 mentioned this issue Mar 10, 2020
@JevonShi JevonShi mentioned this issue Mar 10, 2020
@HaobinXu HaobinXu mentioned this issue Mar 20, 2020
@luan823230 luan823230 mentioned this issue Mar 24, 2020
@hzg1105 hzg1105 mentioned this issue Jun 14, 2020
@wangkr wangkr mentioned this issue Jul 4, 2020
@jayVRIY jayVRIY mentioned this issue Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants