Fix: Null check exception in broadcast screen
Fixes #1586. Code should work, but it would be helpful if steps to reproduce the error are provided for testing purposes @veloce
All I have is the stack trace that I have now added to the issue @andy-ife
A similar crash happened here #1544.
Both crashes happen after calling _syncRound according to the stack trace. It would easier if we would just invalidate the provider in _syncRound instead and I think it might solve the crashes we are seeing.
A similar crash happened here #1544.
Both crashes happen after calling
_syncRoundaccording to the stack trace. It would easier if we would just invalidate the provider in_syncRoundinstead and I think it might solve the crashes we are seeing.
Yes but then in the view we need to make sure we don't see any flash.
Better fix here: https://github.com/lichess-org/mobile/pull/1601
It was not possible to use invalidateSelf because of the way the observed games work.