1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-25 15:32:52 +00:00

Small improvement

This commit is contained in:
M66B 2020-05-04 18:11:43 +02:00
parent b933ed6f67
commit e546e62122

View file

@ -1348,7 +1348,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
if (!ConnectionHelper.getNetworkState(context).isSuitable())
throw new IllegalStateException(context.getString(R.string.title_no_internet));
int count = 0;
int count;
boolean now = true;
boolean force = false;
@ -3850,7 +3850,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
else
fabError.hide();
swipeRefresh.setRefreshing(refreshing);
if (refreshing != swipeRefresh.isRefreshing())
swipeRefresh.setRefreshing(refreshing);
}
private void loadMessages(final boolean top) {