mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-18 11:49:01 +00:00
fix potential crash when loading tasks fragment
This commit is contained in:
parent
1fcce1c526
commit
40dcbe44e6
1 changed files with 3 additions and 3 deletions
|
|
@ -322,9 +322,9 @@ public class TasksFragment extends BaseFragment implements TaskScoringCallback.O
|
|||
}
|
||||
});
|
||||
|
||||
|
||||
tabLayout.setupWithViewPager(viewPager);
|
||||
|
||||
if (tabLayout != null) {
|
||||
tabLayout.setupWithViewPager(viewPager);
|
||||
}
|
||||
}
|
||||
|
||||
public void updateUserData(HabitRPGUser user) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue