Skip to content

Commit 991d9ea

Browse files
committed
Fix state not saved
1 parent f948921 commit 991d9ea

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

app/src/main/java/org/schabi/newpipe/fragments/BlankFragment.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,18 @@
77

88
import androidx.annotation.Nullable;
99

10+
import com.evernote.android.state.State;
11+
1012
import org.schabi.newpipe.BaseFragment;
1113
import org.schabi.newpipe.R;
1214
import org.schabi.newpipe.error.ErrorInfo;
1315
import org.schabi.newpipe.error.ErrorPanelHelper;
1416

1517
public class BlankFragment extends BaseFragment {
1618

19+
@State
1720
@Nullable
18-
final ErrorInfo errorInfo;
21+
ErrorInfo errorInfo;
1922
@Nullable
2023
ErrorPanelHelper errorPanel = null;
2124

0 commit comments

Comments
 (0)