1
0
Fork 0
mirror of https://github.com/MatomoCamp/matomocamp-companion-android.git synced 2024-09-19 16:13:46 +02:00

Fix: properly schedule the room status strategy update when the days list changes

This commit is contained in:
Christophe Beyls 2018-01-30 16:56:38 +01:00
parent a1ba1d2c5e
commit 9f367e65a0

View file

@ -57,6 +57,7 @@ class RoomStatusesLiveData extends MediatorLiveData<Map<String, RoomStatus>> {
}
void updateStrategy() {
handler.removeCallbacks(updateRunnable);
if (days == null) {
return;
}