mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 01:08:50 -06:00
Remove more log messages
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user