Fix not saving comment replies state on config change
This commit is contained in:
parent
0ba73b11c1
commit
67b41b970d
1 changed files with 3 additions and 1 deletions
|
@ -30,6 +30,7 @@ import org.schabi.newpipe.util.text.TextLinkifier;
|
||||||
import java.util.Queue;
|
import java.util.Queue;
|
||||||
import java.util.function.Supplier;
|
import java.util.function.Supplier;
|
||||||
|
|
||||||
|
import icepick.State;
|
||||||
import io.reactivex.rxjava3.core.Single;
|
import io.reactivex.rxjava3.core.Single;
|
||||||
import io.reactivex.rxjava3.disposables.CompositeDisposable;
|
import io.reactivex.rxjava3.disposables.CompositeDisposable;
|
||||||
|
|
||||||
|
@ -38,7 +39,8 @@ public final class CommentRepliesFragment
|
||||||
|
|
||||||
public static final String TAG = CommentRepliesFragment.class.getSimpleName();
|
public static final String TAG = CommentRepliesFragment.class.getSimpleName();
|
||||||
|
|
||||||
private CommentsInfoItem commentsInfoItem; // the comment to show replies of
|
@State
|
||||||
|
CommentsInfoItem commentsInfoItem; // the comment to show replies of
|
||||||
private final CompositeDisposable disposables = new CompositeDisposable();
|
private final CompositeDisposable disposables = new CompositeDisposable();
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue