forked from cwtch.im/cwtch-ui
Fix Crash Bug in Android (ShareFile and Reconnect)
In rare situtaitons (exacerbated by debug mode and multiple file shares in succession) ReconnectCwtchForeground events can result in negative message counts being calculated in the UI. This fix ensures that doesn't happen, but a complete fix will need to wait until #664 is implement in the backend
This commit is contained in:
parent
2012b2dc7d
commit
d6d064b804
|
@ -233,6 +233,7 @@ class ContactInfoState extends ChangeNotifier {
|
|||
return this._newMarkerMsgIndex;
|
||||
}
|
||||
|
||||
int get totalMessages => this._totalMessages;
|
||||
int get totalMessages => this._totalMessages;
|
||||
|
||||
set totalMessages(int newVal) {
|
||||
|
|
Loading…
Reference in New Issue