diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2018-05-18 08:40:05 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2018-05-18 08:40:05 -0400 |
commit | 117ebf6e10a6a2a774634d457dcaaf8a6f4d9ff8 (patch) | |
tree | 2e00e3db837a2f702f4b5cd99a5594b7f728259b | |
parent | 94d468ef87c2574fabc3e5f3717b0224e08935b6 (diff) | |
download | sdl_ios-bugfix/issue_968_media_track_fixes.tar.gz |
Fix media track text field not always updatingbugfix/issue_968_media_track_fixes
-rw-r--r-- | SmartDeviceLink/SDLTextAndGraphicManager.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLTextAndGraphicManager.m b/SmartDeviceLink/SDLTextAndGraphicManager.m index 0525191a6..eadc37992 100644 --- a/SmartDeviceLink/SDLTextAndGraphicManager.m +++ b/SmartDeviceLink/SDLTextAndGraphicManager.m @@ -404,6 +404,7 @@ NS_ASSUME_NONNULL_BEGIN show.mainField2 = @""; show.mainField3 = @""; show.mainField4 = @""; + show.mediaTrack = @""; return show; } @@ -416,6 +417,7 @@ NS_ASSUME_NONNULL_BEGIN newShow.mainField2 = show.mainField2; newShow.mainField3 = show.mainField3; newShow.mainField4 = show.mainField4; + newShow.mediaTrack = show.mediaTrack; newShow.metadataTags = show.metadataTags; return newShow; @@ -435,6 +437,7 @@ NS_ASSUME_NONNULL_BEGIN self.currentScreenData.mainField2 = show.mainField2 ?: self.currentScreenData.mainField2; self.currentScreenData.mainField3 = show.mainField3 ?: self.currentScreenData.mainField3; self.currentScreenData.mainField4 = show.mainField4 ?: self.currentScreenData.mainField4; + self.currentScreenData.mediaTrack = show.mediaTrack ?: self.currentScreenData.mediaTrack; self.currentScreenData.metadataTags = show.metadataTags ?: self.currentScreenData.metadataTags; self.currentScreenData.alignment = show.alignment ?: self.currentScreenData.alignment; self.currentScreenData.graphic = show.graphic ?: self.currentScreenData.graphic; |