|
|
@ -38,8 +38,10 @@ class UserProvider extends ChangeNotifier {
|
|
|
|
await updateProfile();
|
|
|
|
await updateProfile();
|
|
|
|
await updateUserDetail();
|
|
|
|
await updateUserDetail();
|
|
|
|
await appProvider.updateHouses(await HouseFunc.passedHouses);
|
|
|
|
await appProvider.updateHouses(await HouseFunc.passedHouses);
|
|
|
|
|
|
|
|
if (isLogin) {
|
|
|
|
WebSocketUtil().setUser(userInfoModel!.id.toString());
|
|
|
|
WebSocketUtil().setUser(userInfoModel!.id.toString());
|
|
|
|
WebSocketUtil().startWebSocket();
|
|
|
|
WebSocketUtil().startWebSocket();
|
|
|
|
|
|
|
|
}
|
|
|
|
notifyListeners();
|
|
|
|
notifyListeners();
|
|
|
|
} catch (e) {
|
|
|
|
} catch (e) {
|
|
|
|
LoggerData.addData(e);
|
|
|
|
LoggerData.addData(e);
|
|
|
|