Remember list position when posting on pin

captchafix
Florens Douwes 11 years ago
parent e6c8ed227f
commit 96fbce7f07
  1. 7
      Clover/app/src/main/java/org/floens/chan/core/manager/WatchManager.java

@ -19,7 +19,6 @@ package org.floens.chan.core.manager;
import android.content.Context; import android.content.Context;
import android.content.Intent; import android.content.Intent;
import android.text.TextUtils;
import org.floens.chan.ChanApplication; import org.floens.chan.ChanApplication;
import org.floens.chan.core.ChanPreferences; import org.floens.chan.core.ChanPreferences;
@ -131,11 +130,7 @@ public class WatchManager implements ChanApplication.ForegroundChangedListener {
public boolean addPin(Loadable loadable) { public boolean addPin(Loadable loadable) {
Pin pin = new Pin(); Pin pin = new Pin();
if (!TextUtils.isEmpty(loadable.title)) { pin.loadable = loadable;
pin.loadable = new Loadable(loadable.board, loadable.no, loadable.title);
} else {
pin.loadable = new Loadable(loadable.board, loadable.no);
}
return addPin(pin); return addPin(pin);
} }

Loading…
Cancel
Save