X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fjava%2Fnet%2Fktnx%2Fmobileledger%2Futils%2FGlobals.java;h=7a9913d8fae9e1a6f41361982e8555f3e11fb942;hp=87730ca3e8ea7c2a6f52f32b63cdee98b99308ce;hb=254ccdbeec488fb1309513a3ff9be28f9b06855c;hpb=ea17ca9e3b03ca0090be03fdc0abbbbfd954be89
diff --git a/app/src/main/java/net/ktnx/mobileledger/utils/Globals.java b/app/src/main/java/net/ktnx/mobileledger/utils/Globals.java
index 87730ca3..7a9913d8 100644
--- a/app/src/main/java/net/ktnx/mobileledger/utils/Globals.java
+++ b/app/src/main/java/net/ktnx/mobileledger/utils/Globals.java
@@ -1,26 +1,24 @@
/*
* Copyright © 2019 Damyan Ivanov.
- * This file is part of Mobile-Ledger.
- * Mobile-Ledger is free software: you can distribute it and/or modify it
+ * This file is part of MoLe.
+ * MoLe is free software: you can distribute it and/or modify it
* under the term of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your opinion), any later version.
*
- * Mobile-Ledger is distributed in the hope that it will be useful,
+ * MoLe is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License terms for details.
*
* You should have received a copy of the GNU General Public License
- * along with Mobile-Ledger. If not, see .
+ * along with MoLe. If not, see .
*/
package net.ktnx.mobileledger.utils;
import android.app.Activity;
import android.content.Context;
-import android.support.annotation.ColorInt;
-import android.util.Log;
import android.view.View;
import android.view.inputmethod.InputMethodManager;
@@ -33,13 +31,8 @@ import java.util.regex.Matcher;
import java.util.regex.Pattern;
public final class Globals {
- @ColorInt
- public static int tableRowLightBG;
- @ColorInt
- public static int tableRowDarkBG;
- @ColorInt
- public static int primaryDark, defaultTextColor;
public static String[] monthNames;
+ public static String developerEmail = "dam+mole-crash@ktnx.net";
private static SimpleDateFormat ledgerDateFormatter =
new SimpleDateFormat("yyyy/MM/dd", Locale.US);
private static Pattern reLedgerDate =
@@ -73,7 +66,7 @@ public final class Globals {
}
else toParse = dateString;
- Log.d("globals", String.format("Parsing date '%s'", toParse));
+// Log.d("globals", String.format("Parsing date '%s'", toParse));
return ledgerDateFormatter.parse(toParse);
}
public static String formatLedgerDate(Date date) {