activities: Assign isLoadingActivities value when loading activities.

This commit is contained in:
ardevd 2018-04-19 14:57:41 +02:00
parent dc92985520
commit 3aaff65bfc

View file

@ -352,6 +352,7 @@ public class ActivitiesActivity extends FileActivity implements ActivityListInte
@Override
public void setProgressIndicatorState(boolean isActive) {
isLoadingActivities = isActive;
swipeListRefreshLayout.post(() -> swipeListRefreshLayout.setRefreshing(isActive));
}