Add some more strings from preferences...

We have the knowledge...USE IT.
This commit is contained in:
d8ahazard 2016-09-12 16:57:06 -05:00
parent 3d4b4e04c5
commit e690f6d487

View File

@ -37,7 +37,6 @@ public class Module {
continue; continue;
} }
String value = props[1].trim();
switch (props[0]) { switch (props[0]) {
case "versionCode": case "versionCode":
this.mVersionCode = Integer.valueOf(props[1]); this.mVersionCode = Integer.valueOf(props[1]);
@ -112,6 +111,18 @@ public class Module {
mIsOnline = true; mIsOnline = true;
} else mIsOnline = false; } else mIsOnline = false;
} }
if (idEntry[0].equals("logUrl")) {
mLogUrl = idEntry[1];
}
if (idEntry[0].equals("support")) {
mSupportUrl = idEntry[1];
}
if (idEntry[0].equals("zipUrl")) {
mZipUrl = idEntry[1];
}
if (idEntry[0].equals("donate")) {
mDonateUrl = idEntry[1];
}
if (idEntry[0].equals("versionCode")) { if (idEntry[0].equals("versionCode")) {
if (idEntry.length != 2) { if (idEntry.length != 2) {