Release 3.3.2

This commit is contained in:
Thomas 2022-09-16 18:54:23 +02:00
parent 62a4a63386
commit 2e3639dcb4
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ public class ReorderVM extends AndroidViewModel {
SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(getApplication().getApplicationContext());
boolean singleBar = sharedpreferences.getBoolean(getApplication().getApplicationContext().getString(R.string.SET_USE_SINGLE_TOPBAR), false);
List<PinnedTimeline> pinnedTimelinesToRemove = new ArrayList<>();
if (!singleBar && pinned != null) {
if (!singleBar && pinned != null && pinned.pinnedTimelines != null) {
for (PinnedTimeline pinnedTimeline : pinned.pinnedTimelines) {
if (pinnedTimeline.type == Timeline.TimeLineEnum.HOME) {
pinnedTimelinesToRemove.add(pinnedTimeline);