mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Remove debug messages
This commit is contained in:
@@ -26,7 +26,6 @@ import android.content.Context;
|
|||||||
import android.content.DialogInterface;
|
import android.content.DialogInterface;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.util.DisplayMetrics;
|
import android.util.DisplayMetrics;
|
||||||
import android.util.Log;
|
|
||||||
|
|
||||||
import org.isoron.uhabits.R;
|
import org.isoron.uhabits.R;
|
||||||
import org.isoron.uhabits.models.Habit;
|
import org.isoron.uhabits.models.Habit;
|
||||||
@@ -89,8 +88,6 @@ public class HistoryEditorDialog extends DialogFragment
|
|||||||
int width = metrics.widthPixels;
|
int width = metrics.widthPixels;
|
||||||
int height = Math.min(metrics.heightPixels, maxHeight);
|
int height = Math.min(metrics.heightPixels, maxHeight);
|
||||||
|
|
||||||
Log.d("HistoryEditorDialog", String.format("h=%d max_h=%d", height, maxHeight));
|
|
||||||
|
|
||||||
getDialog().getWindow().setLayout(width, height);
|
getDialog().getWindow().setLayout(width, height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,6 @@ import android.os.Looper;
|
|||||||
import android.preference.PreferenceManager;
|
import android.preference.PreferenceManager;
|
||||||
import android.util.AttributeSet;
|
import android.util.AttributeSet;
|
||||||
import android.util.DisplayMetrics;
|
import android.util.DisplayMetrics;
|
||||||
import android.util.Log;
|
|
||||||
import android.util.TypedValue;
|
import android.util.TypedValue;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.inputmethod.InputMethodManager;
|
import android.view.inputmethod.InputMethodManager;
|
||||||
@@ -166,8 +165,6 @@ public abstract class UIHelper
|
|||||||
|
|
||||||
final String currentLanguage = Locale.getDefault().getLanguage();
|
final String currentLanguage = Locale.getDefault().getLanguage();
|
||||||
|
|
||||||
Log.d("UIHelper", String.format("lang=%s", currentLanguage));
|
|
||||||
|
|
||||||
for(String lang : fullyTranslatedLanguages)
|
for(String lang : fullyTranslatedLanguages)
|
||||||
if(currentLanguage.equals(lang)) return true;
|
if(currentLanguage.equals(lang)) return true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user