1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-12-26 04:48:51 +00:00

Fix issue on slow connections

This commit is contained in:
Pierre HUBERT 2019-07-06 17:13:16 +02:00
parent 14882a80cd
commit dc79069b77

View File

@ -63,7 +63,9 @@ class _ConversationScreenState extends State<ConversationScreen> {
@override
void deactivate() {
super.deactivate();
_refreshTime.cancel();
if(_refreshTime != null)
_refreshTime.cancel();
}
void _setError(ErrorLevel err) => setState(() => _error = err);