Fix issue with extra chars causing reloads when not needed.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user