mirror of
https://github.com/wismna/DoNext.git
synced 2025-10-03 15:40:14 -04:00
Tasks are now correctly shown again
This commit is contained in:
@@ -60,6 +60,8 @@ public class MainFragment extends Fragment implements
|
|||||||
assert activity != null;
|
assert activity != null;
|
||||||
activity.setSupportActionBar(toolbar);
|
activity.setSupportActionBar(toolbar);
|
||||||
|
|
||||||
|
// TODO: determine whether this is the first startup, and if so, show a tutorial of sorts
|
||||||
|
|
||||||
// Load task lists
|
// Load task lists
|
||||||
updateTaskLists(activity);
|
updateTaskLists(activity);
|
||||||
SharedPreferences sharedPref =
|
SharedPreferences sharedPref =
|
||||||
@@ -112,7 +114,6 @@ public class MainFragment extends Fragment implements
|
|||||||
}
|
}
|
||||||
boolean isLargeLayout = getResources().getBoolean(R.bool.large_layout);
|
boolean isLargeLayout = getResources().getBoolean(R.bool.large_layout);
|
||||||
|
|
||||||
// TODO: determine whether this is the first startup, and if so, show a tutorial of sorts
|
|
||||||
// No tasks, show the edit task lists fragment
|
// No tasks, show the edit task lists fragment
|
||||||
if (taskLists.size() == 0) {
|
if (taskLists.size() == 0) {
|
||||||
TaskListsDialogFragment taskListFragment = TaskListsDialogFragment.newInstance(this);
|
TaskListsDialogFragment taskListFragment = TaskListsDialogFragment.newInstance(this);
|
||||||
|
@@ -59,7 +59,7 @@ public class TasksFragment extends Fragment implements
|
|||||||
|
|
||||||
private static final String TASK_LIST_ID = "task_list_id";
|
private static final String TASK_LIST_ID = "task_list_id";
|
||||||
private long taskListId = -1;
|
private long taskListId = -1;
|
||||||
private boolean isTodayView = true;
|
private boolean isTodayView = false;
|
||||||
private boolean isHistory = false;
|
private boolean isHistory = false;
|
||||||
private TaskRecyclerViewAdapter taskRecyclerViewAdapter;
|
private TaskRecyclerViewAdapter taskRecyclerViewAdapter;
|
||||||
private View view;
|
private View view;
|
||||||
|
Reference in New Issue
Block a user