From 8baaecab1b32851077cf51fe4a2e75dc29254a87 Mon Sep 17 00:00:00 2001 From: lawonga Date: Sat, 11 Nov 2017 19:51:20 -0800 Subject: [PATCH] #827 Fixes auto rotation bug with useAsFrontPage on by preserving the useAsFrontPage boolean setting --- .../java/org/schabi/newpipe/fragments/BaseStateFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/org/schabi/newpipe/fragments/BaseStateFragment.java b/app/src/main/java/org/schabi/newpipe/fragments/BaseStateFragment.java index 80f05585b..a85a536db 100644 --- a/app/src/main/java/org/schabi/newpipe/fragments/BaseStateFragment.java +++ b/app/src/main/java/org/schabi/newpipe/fragments/BaseStateFragment.java @@ -50,6 +50,7 @@ public abstract class BaseStateFragment extends BaseFragment implements ViewC protected Button errorButtonRetry; protected TextView errorTextView; + @State protected boolean useAsFrontPage = false; @Override