Private
Public Access
1
0

Fix issue with extra chars causing reloads when not needed.

This commit is contained in:
Kevin Whitaker
2015-11-21 17:06:15 -05:00
parent 02b27615fa
commit e4c13ad6d3

View File

@@ -33,7 +33,7 @@ public class MagnatuneDBManager {
String hash = "";
if(prefs.contains(SP_KEY_DB_HASH)) {
try {
hash = MagnatuneCompainionApplication.getDataApi().getUpdateChecksum().execute().body();
hash = MagnatuneCompainionApplication.getDataApi().getUpdateChecksum().execute().body().trim().replace("\\n","");
} catch (IOException e) {
e.printStackTrace();
}