Fix detection of running apps on GFE 3.1

This commit is contained in:
Cameron Gutman
2016-10-21 11:41:42 -07:00
parent 39ab472cf6
commit fd50b71b16
8 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ static UIImage* noImage;
_appOverlay = nil;
}
if (_app.isRunning) {
if ([_app.id isEqualToString:_app.host.currentGame]) {
// Only create the app overlay if needed
_appOverlay = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"Play"]];
_appOverlay.layer.shadowColor = [UIColor blackColor].CGColor;