Remove more log messages
This commit is contained in:
parent
45da08e72e
commit
4d4f40cf95
@ -203,7 +203,6 @@ public class ListHabitsFragment extends Fragment
|
|||||||
|
|
||||||
private void updateEmptyMessage()
|
private void updateEmptyMessage()
|
||||||
{
|
{
|
||||||
Log.d("x", "updating empty message");
|
|
||||||
llEmpty.setVisibility(Habit.getCount() > 0 ? View.GONE : View.VISIBLE);
|
llEmpty.setVisibility(Habit.getCount() > 0 ? View.GONE : View.VISIBLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -250,10 +249,9 @@ public class ListHabitsFragment extends Fragment
|
|||||||
|
|
||||||
void updateStarCount()
|
void updateStarCount()
|
||||||
{
|
{
|
||||||
Log.d("StarCount", "updating star count");
|
|
||||||
String msg = "";
|
String msg = "";
|
||||||
int starCount = Habit.getStarCount();
|
int starCount = Habit.getStarCount();
|
||||||
|
|
||||||
if (starCount == 1) msg = String.format("%d star", starCount);
|
if (starCount == 1) msg = String.format("%d star", starCount);
|
||||||
else if (starCount > 1) msg = String.format("%d stars", starCount);
|
else if (starCount > 1) msg = String.format("%d stars", starCount);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user