mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-24 22:55:59 +00:00
fix NPE
This commit is contained in:
parent
4d7f4a681c
commit
8a76dd35e9
1 changed files with 3 additions and 1 deletions
|
|
@ -198,7 +198,9 @@ public class TasksFragment extends BaseFragment implements OnCheckedChangeListen
|
|||
|
||||
refreshItem.setActionView(iv);
|
||||
|
||||
mAPIHelper.retrieveUser(new HabitRPGUserCallback(activity));
|
||||
if(mAPIHelper != null) {
|
||||
mAPIHelper.retrieveUser(new HabitRPGUserCallback(activity));
|
||||
}
|
||||
}
|
||||
|
||||
public void loadTaskLists() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue