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:
parent
a1ba1d2c5e
commit
9f367e65a0
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ class RoomStatusesLiveData extends MediatorLiveData<Map<String, RoomStatus>> {
|
|||
}
|
||||
|
||||
void updateStrategy() {
|
||||
handler.removeCallbacks(updateRunnable);
|
||||
if (days == null) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue