fixed issue with apps duplicating in app list

This commit is contained in:
Diego Waxemberg
2015-07-11 18:47:05 -07:00
parent 8f12114a56
commit 9c6b718be2
6 changed files with 18 additions and 12 deletions
+1 -2
View File
@@ -14,7 +14,7 @@
@implementation AppListResponse {
NSMutableArray* _appList;
}
@synthesize data, statusCode, statusMessage, host;
@synthesize data, statusCode, statusMessage;
static const char* TAG_APP = "App";
static const char* TAG_APP_TITLE = "AppTitle";
@@ -99,7 +99,6 @@ static const char* TAG_APP_IS_RUNNING = "IsRunning";
App* app = [dataMan createApp];
app.name = appName;
app.id = appId;
app.host = host;
app.isRunning = appIsRunning;
[_appList addObject:app];
}