アニメーションでラグをごまかせたので遅延を削除

This commit is contained in:
ろむねこ 2024-07-09 11:49:16 +09:00
parent fbf49bbe43
commit 4974bfced6
Signed by: Fujimatsu
GPG Key ID: FA1F39A1BA37D168

View File

@ -311,12 +311,6 @@ public class CommonHomeFragment extends Fragment {
private void updateData() {
swipeRefreshLayout.setRefreshing(true);
CompletableFuture.allOf(updateTaskInfo(), updateCalender()).thenRun(() -> {
// Workaround: リスト更新処理があまりにも重くてアニメーションが壊れるため
try {
Thread.sleep(500);
} catch (InterruptedException e) {
// do nothing
}
swipeRefreshLayout.setRefreshing(false);
});
}