mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Fix default folder expansion state after rotation.
This commit is contained in:
parent
fa94d9dc1f
commit
05d8b4c9b6
2 changed files with 2 additions and 1 deletions
|
@ -107,6 +107,7 @@ public class Main extends NbActivity implements StateChangedListener, SwipeRefre
|
|||
|
||||
updateStatusIndicators();
|
||||
folderFeedList.pushUnreadCounts();
|
||||
folderFeedList.checkOpenFolderPreferences();
|
||||
triggerSync();
|
||||
|
||||
if (PrefsUtils.isLightThemeSelected(this) != isLightTheme) {
|
||||
|
|
|
@ -181,7 +181,7 @@ public class FolderListFragment extends NbFragment implements OnCreateContextMen
|
|||
* database. The list widget likes to default all folders to closed, so open them up
|
||||
* unless expressly collapsed at some point.
|
||||
*/
|
||||
private void checkOpenFolderPreferences() {
|
||||
public void checkOpenFolderPreferences() {
|
||||
// make sure we didn't beat construction
|
||||
if ((this.list == null) || (this.sharedPreferences == null)) return;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue