1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

Remove the progress spinner when not in use so that the "Load more..." text is centered.

This commit is contained in:
Andrew Chen 2012-12-06 17:25:06 -08:00
parent 9a16ecce3d
commit c81f68af33

View File

@ -1830,7 +1830,7 @@ public class MessageListFragment extends SherlockFragment implements OnItemClick
FooterViewHolder holder = (FooterViewHolder) mFooterView.getTag();
holder.progress.setVisibility(progressVisible ? ProgressBar.VISIBLE : ProgressBar.INVISIBLE);
holder.progress.setVisibility(progressVisible ? ProgressBar.VISIBLE : ProgressBar.GONE);
if (text != null) {
holder.main.setText(text);
}