mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-20 04:39:04 +00:00
minor fix
This commit is contained in:
parent
b1c3520e0e
commit
cab560ee88
2 changed files with 2 additions and 2 deletions
|
|
@ -269,7 +269,7 @@ public class HabitItemRecyclerViewAdapter<THabitItem extends Task>
|
|||
public void bindHolder(THabitItem habitItem, int position) {
|
||||
double itemvalue = habitItem.getValue();
|
||||
Item = habitItem;
|
||||
if (habitItem.notes.length() == 0) {
|
||||
if (habitItem.notes == null || habitItem.notes.length() == 0) {
|
||||
notesTextView.setHeight(0);
|
||||
} else {
|
||||
notesTextView.setLayoutParams(new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT));
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ public class GemsPurchaseFragment extends BaseFragment {
|
|||
@Override
|
||||
public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
||||
Bundle savedInstanceState) {
|
||||
this.usesTabLayout = true;
|
||||
|
||||
super.onCreateView(inflater, container, savedInstanceState);
|
||||
|
||||
View v = inflater.inflate(R.layout.fragment_gem_purchase, container, false);
|
||||
|
|
|
|||
Loading…
Reference in a new issue