From 9d82589345f3fdb1931d2da1af19379d5f45505a Mon Sep 17 00:00:00 2001 From: Corentin Garcia Date: Tue, 6 Jun 2017 13:11:13 +0200 Subject: [PATCH] Real version 1.1 (forgot to end loading if no network on commander tab) --- .../java/fr/corenting/edcompanion/network/StatusNetwork.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/fr/corenting/edcompanion/network/StatusNetwork.java b/app/src/main/java/fr/corenting/edcompanion/network/StatusNetwork.java index 9ee850e4..a062b8f0 100644 --- a/app/src/main/java/fr/corenting/edcompanion/network/StatusNetwork.java +++ b/app/src/main/java/fr/corenting/edcompanion/network/StatusNetwork.java @@ -23,6 +23,7 @@ public static void getAll(final StatusFragment fragment) { .make(fragment.getActivity().findViewById(android.R.id.content), R.string.commander_error, Snackbar.LENGTH_SHORT); snackbar.show(); + fragment.endLoading(); } else { getCredits(fragment); getRanks(fragment);