no message

master
Sultan khan 21 hours ago
parent d7b88e2e73
commit 59efdf382b

@ -225,9 +225,9 @@ class DashboardProviderModel with ChangeNotifier, DiagnosticableTreeMixin {
notifyListeners(); notifyListeners();
} catch (ex) { } catch (ex) {
isLeaveTicketBalanceLoading = false; isLeaveTicketBalanceLoading = false;
logger.wtf(ex); // logger.wtf(ex);
notifyListeners(); // notifyListeners();
Utils.handleException(ex, context, null); // Utils.handleException(ex, context, null);
} }
} }

@ -113,6 +113,7 @@ class _DashboardScreenState extends State<DashboardScreen> with WidgetsBindingOb
} else { } else {
cProvider.buildHubConnection(); cProvider.buildHubConnection();
Future.delayed(const Duration(seconds: 2), () { Future.delayed(const Duration(seconds: 2), () {
if(AppState().chatDetails != null)
cProvider.invokeChatCounter(userId: AppState().chatDetails!.response!.id!); cProvider.invokeChatCounter(userId: AppState().chatDetails!.response!.id!);
}); });
} }

Loading…
Cancel
Save