Browse Source

Merge branch 'master' into dev

# Conflicts:
#	lib/mine/mine_page.dart
null_safety
w-R 4 years ago
parent
commit
0cf13ca71b
  1. 19
      lib/home/points_mall_page.dart

19
lib/home/points_mall_page.dart

@ -72,15 +72,16 @@ class _PointsMallPage extends State<PointsMallPage>
}
refreshUserInfo() {
SharedPreferences.getInstance().then((value) => {
client = ApiService(Dio(),
context: context,
token: value.getString('token'),
showLoading: false),
SmartDialog.showLoading(msg: S.current.zhengzaijiazai),
creditGoods(categoryId),
queryUser(),
});
if(mounted)
SharedPreferences.getInstance().then((value) => {
client = ApiService(Dio(),
context: context,
token: value.getString('token'),
showLoading: false),
SmartDialog.showLoading(msg: S.current.zhengzaijiazai),
creditGoods(categoryId),
queryUser(),
});
}
int pageNum = 1;

Loading…
Cancel
Save