mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-06-17 14:11:35 +00:00
Refresh app icon when the running state changes on tvOS
This commit is contained in:
@@ -180,9 +180,7 @@ static UIImage* noImage;
|
|||||||
// Update the app image if neccessary
|
// Update the app image if neccessary
|
||||||
if ((_appOverlay != nil && ![_app.id isEqualToString:_app.host.currentGame]) ||
|
if ((_appOverlay != nil && ![_app.id isEqualToString:_app.host.currentGame]) ||
|
||||||
(_appOverlay == nil && [_app.id isEqualToString:_app.host.currentGame])) {
|
(_appOverlay == nil && [_app.id isEqualToString:_app.host.currentGame])) {
|
||||||
#if !TARGET_OS_TV
|
|
||||||
[self updateAppImage];
|
[self updateAppImage];
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Stop updating when we detach from our parent view
|
// Stop updating when we detach from our parent view
|
||||||
|
|||||||
Reference in New Issue
Block a user