Refactor upgrade service

pull/14/head
Tim Su 13 years ago
parent f5a631ca0d
commit e6a5e98570

@ -135,16 +135,6 @@ public final class UpgradeService {
StringBuilder changeLog = new StringBuilder();
if(from <= V2_14_4) {
newVersionString(changeLog, "3.7.2 (3/04/11)", new String[] {
"Astrid is brand new inside and out! In addition to a new " +
"look and feel, a new add-on system allows Astrid to become " +
"more powerful, while other improvements have made it faster " +
"and easier to use. Hope you like it!",
"If you liked the old version, you can also go back by " +
"<a href='http://bit.ly/oldastrid'>clicking here</a>",
});
} else {
// current message
if(from >= V3_8_0 && from < V3_8_0_3) {
newVersionString(changeLog, "3.8.0.3 (7/19/11)", new String[] {
@ -243,7 +233,6 @@ public final class UpgradeService {
"FROYO: disabled moving app to SD card, it would break alarms and widget",
"Also gone: a couple force closes, bugs with repeating tasks",
});
}
if(changeLog.length() == 0)
return;

Loading…
Cancel
Save