mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 14:11:33 +00:00
fixed some bugs with saving app list to database
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
@implementation AppListResponse {
|
||||
NSMutableArray* _appList;
|
||||
}
|
||||
@synthesize data, statusCode, statusMessage;
|
||||
@synthesize data, statusCode, statusMessage, host;
|
||||
|
||||
static const char* TAG_APP = "App";
|
||||
static const char* TAG_APP_TITLE = "AppTitle";
|
||||
@@ -98,6 +98,7 @@ static const char* TAG_APP_IS_RUNNING = "IsRunning";
|
||||
App* app = [dataMan createApp];
|
||||
app.name = appName;
|
||||
app.id = appId;
|
||||
app.host = host;
|
||||
app.isRunning = appIsRunning;
|
||||
if (app.id != nil) {
|
||||
[_appList addObject:app];
|
||||
|
||||
Reference in New Issue
Block a user