Matched API Client to online API return values and calls:

- added fav_file API call
- added "favorites" value to FileInfo holder
This commit is contained in:
CrushedPixel
2015-05-16 17:44:07 +02:00
parent 7c9b0eb8a7
commit 9a83eba6cf
4 changed files with 16 additions and 4 deletions

View File

@@ -84,7 +84,7 @@ public class GuiReplayViewer extends GuiScreen implements GuiYesNoCallback {
for(Pair<Pair<File, ReplayMetaData>, File> p : replayFileList) {
FileInfo fileInfo = new FileInfo(-1, p.first().second(), null, null,
-1, -1, -1, FilenameUtils.getBaseName(p.first().first().getName()), true);
-1, -1, -1, FilenameUtils.getBaseName(p.first().first().getName()), true, -1);
replayGuiList.addEntry(fileInfo, p.second());
}
}