Fix issue with extra chars causing reloads when not needed.
This commit is contained in:
@@ -33,7 +33,7 @@ public class MagnatuneDBManager {
|
|||||||
String hash = "";
|
String hash = "";
|
||||||
if(prefs.contains(SP_KEY_DB_HASH)) {
|
if(prefs.contains(SP_KEY_DB_HASH)) {
|
||||||
try {
|
try {
|
||||||
hash = MagnatuneCompainionApplication.getDataApi().getUpdateChecksum().execute().body();
|
hash = MagnatuneCompainionApplication.getDataApi().getUpdateChecksum().execute().body().trim().replace("\\n","");
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user