Show "loading" after tapping the status cell after loading error

multisite
Floens 10 years ago
parent 97d7f59852
commit fed5e5e1a9
  1. 3
      Clover/app/src/main/java/org/floens/chan/ui/cell/ThreadStatusCell.java

@ -88,7 +88,7 @@ public class ThreadStatusCell extends LinearLayout implements View.OnClickListen
public void update() {
if (error != null) {
text.setText(error);
text.setText(error + "\n" + getContext().getString(R.string.thread_refresh_bar_inactive));
} else {
ChanThread chanThread = callback.getChanThread();
if (chanThread == null) {
@ -169,6 +169,7 @@ public class ThreadStatusCell extends LinearLayout implements View.OnClickListen
@Override
public void onClick(View v) {
error = null;
callback.onListStatusClicked();
update();
}

Loading…
Cancel
Save